On 16/07/2012 07:43, Manel Gimeno Zaragozá wrote:
Hello,It's not a problem of RAM: [POSTFIX root@mail ~]# free -m total used free shared buffers cached Mem: 2048 1411 636 0 0 623 -/+ buffers/cache: 788 1259 Swap: 1124 7 1116The only way I've foung to avoid the error is to increase the Preforking configuration values. Thant's why I ask if I can found any problem in the future due to this increase.Thanks & Regards. Manel ------------------------------------------------------------------------ Date: Fri, 13 Jul 2012 15:42:55 +0000 From: [email protected] To: [email protected] Subject: Re: [policyd-users] Preforking configuration problems On 13/07/2012 11:56, Manel Gimeno Zaragozá wrote: Hello, I'm testing an installation with policyd and I'm getting connection problems with policyd process: [2012/07/13-12:18:08 - 5811] [CBPOLICYD] WARNING: Client closed connection => Peer: 127.0.0.1:34802, Local: 127.0.0.1:10031 [2012/07/13-12:18:08 - 6288] [CBPOLICYD] WARNING: Client closed connection => Peer: 127.0.0.1:57232, Local: 127.0.0.1:10031 [2012/07/13-12:18:08 - 6069] [CBPOLICYD] WARNING: Client closed connection => Peer: 127.0.0.1:56718, Local: 127.0.0.1:10031 [2012/07/13-12:18:08 - 5844] [CBPOLICYD] WARNING: Client closed connection => Peer: 127.0.0.1:34812, Local: 127.0.0.1:10031 [2012/07/13-12:18:08 - 5844] [CORE] ERROR: 2012/07/13-12:18:08 Couldn't get lock on file "/tmp/5wDyuTaITG" [Cannot allocate memory] at line 212 in file /usr/local/share/perl5/Net/Server/PreForkSimple.pm [2012/07/13-12:18:08 - 6845] [CBPOLICYD] WARNING: Client closed connection => Peer: 127.0.0.1:34795, Local: 127.0.0.1:10031 [2012/07/13-12:18:08 - 619] [CORE] NOTICE: 2012/07/13-12:18:08 Server closing! I get this errors after trying to summit 7000 mails in 3min. The problems is that the machine has no memory problems, it looks like policyd is not able to manage this amount of mails. I try to increase de Preforking configuration to: min_servers=16 min_spare_servers=16 max_spare_servers=32 max_servers=128 max_requests=2000 I would like to know if could be future problems using this values. Or if you recomment another configuration. Thanks & regards. That error is in Net::Server::PreForkSimple , not policyd.How much RAM does this server have you're trying it out on? is it 32bit or 64bit?
You have not answered my question whether your system is 32bit or 64bit. Yes it does make a difference, 32bit has limited address space.
If you are running policyd within a virtual machine, please also ensure that there are enough open files available and locks.
Please also refrain from top posting. -N
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
