[FUG-BR] maxproc limit uid 89, tuning qmail

Joel Cappellesso cappellesso em gmail.com
Segunda Maio 17 14:16:42 BRT 2010


Ola Pessoal,

May 17 09:22:21 avalon kernel: maxproc limit exceeded by uid 89,
please see tuning(7) and login.conf(5).
May 17 09:22:50 avalon last message repeated 9 times

meu login.conf o default está:


default:\
 ....
        :maxproc=unlimited:\
 ....

Não deveria estar sem limite .

Ou ele utiliza:

kern.maxproc: 6164
kern.maxprocperuid: 5547

Estou aumentando agora:
 sysctl kern.maxprocperuid=8547
kern.maxprocperuid: 5547 -> 8547
para teste.

Para melhorar a performance adicionei no arquivo : /boot/loader.conf
kern.ipc.nsfbufs="79872"                # Set the number of sendfile(2) bufs

Isso já melhorou o número de mensagens entregues ao mesmo tempo. Mas
ainda não ficou legal, não passa das 40 simultâneos.

Alguem tem alguma dica para melhorar a performance do qmail?

# netstat -m
700/1325/2025 mbufs in use (current/cache/total)
279/733/1012/25600 mbuf clusters in use (current/cache/total/max)
279/476 mbuf+clusters out of packet secondary zone in use (current/cache)
0/726/726/12800 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/6400 9k jumbo clusters in use (current/cache/total/max)
0/0/0/3200 16k jumbo clusters in use (current/cache/total/max)
733K/4701K/5434K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/22/79872 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
1112 requests for I/O initiated by sendfile
0 calls to protocol drain routines

last pid: 42903;  load averages:  2.12,  3.70,  3.03
                              up 9+22:11:27  14:12:33
327 processes: 12 running, 298 sleeping, 1 zombie, 16 lock
CPU: 69.0% user,  0.0% nice, 26.6% system,  0.4% interrupt,  3.9% idle
Mem: 541M Active, 2032M Inact, 235M Wired, 69M Cache, 112M Buf, 625M Free
Swap: 4096M Total, 204K Used, 4096M Free

Valeu
Joel


Mais detalhes sobre a lista de discussão freebsd