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?

Regards
Nigel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to