qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhemzhitsky Sergey <Sergey_Zhemzhit...@troika.ru>
Subject RE: Too many open files
Date Tue, 02 Aug 2011 09:51:43 GMT
Hi Pavel,

Here is an output from ulimit -a for qpidd user

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 73728
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 16384
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 73728
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

As you can see the maximum number of open files is 16384.

lsof -p $(pgrep qpidd) | nl gives about 4200 lines

Unfortunately it is difficult to understand why such an error occured because there is no
output of lsof at the time it happened.

Best Regards,
Sergey Zhemzhitsky
Information Technology Division
Troika Dialog, 4, Romanov lane, Moscow 125009, Russia
Phone. +7 495 2580500 ext. 1246


-----Original Message-----
From: Pavel Moravec [mailto:pmoravec@redhat.com] 
Sent: Tuesday, August 02, 2011 12:33 PM
To: users@qpid.apache.org
Subject: Re: Too many open files

Hi Sergey,
no, this error log comes from OS, not from qpidd process. The system does not allow to open
a new file descriptor as the qpidd process has opened maximum allowed FDs already.

What is your ulimit settings (ulimit -a for qpidd user)? What returns the following lsof command?

lsof -p $(pgrep qpidd) | nl

Kind regards,
Pavel


----- Original Message -----
From: "Zhemzhitsky Sergey" <Sergey_Zhemzhitsky@troika.ru>
To: users@qpid.apache.org
Sent: Tuesday, August 2, 2011 9:39:12 AM
Subject: RE: Too many open files

Hi Pavel,

I have the following errors in the log file

error Could not accept socket: Too many open files (qpid/sys/posix/Socket.cpp:220) error Could
not accept socket: Too many open files (qpid/sys/posix/Socket.cpp:220) error Could not accept
socket: Too many open files (qpid/sys/posix/Socket.cpp:220)

Could it be connected with max connection count?


Best Regards,
Sergey Zhemzhitsky
Information Technology Division
Troika Dialog, 4, Romanov lane, Moscow 125009, Russia Phone. +7 495 2580500 ext. 1246


-----Original Message-----
From: Pavel Moravec [mailto:pmoravec@redhat.com]
Sent: Monday, August 01, 2011 3:42 PM
To: users@qpid.apache.org
Subject: Re: Too many open files

Hi Sergey,
what precise log did appear? Something like:

"Client max connection count limit exceeded: 500 connection refused" ?

If so, let see option

  --max-connections N (500)                           Sets the maximum allowed 
                                                      connections


Kind regards,
Pavel


----- Original Message -----
From: "Zhemzhitsky Sergey" <Sergey_Zhemzhitsky@troika.ru>
To: users@qpid.apache.org
Sent: Monday, August 1, 2011 12:53:09 PM
Subject: Too many open files

Hi there,

We have already set ulimit to be able to open 16384 files, but the error still happens from
time to time.
Could you help us to identify the possible sources of this issue.

Best Regards,
Sergey Zhemzhitsky
Information Technology Division
Troika Dialog, 4, Romanov lane, Moscow 125009, Russia Phone. +7 495 2580500 ext. 1246


_______________________________________________________

The information contained in this message may be privileged and conf idential and protected
from disclosure. If you are not the original intended recipient, you are hereby notified that
any review, retransmission, dissemination, or other use of, or taking of any action in reliance
upon, this information is prohibited. If you have received this communication in error, please
notify the sender immediately by replying to this message and delete it from your computer.
Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp
 


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


_______________________________________________________

The information contained in this message may be privileged and conf idential and protected
from disclosure. If you are not the original intended recipient, you are hereby notified that
any review, retransmission, dissemination, or other use of, or taking of any action in reliance
upon, this information is prohibited. If you have received this communication in error, please
notify the sender immediately by replying to this message and delete it from your computer.
Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp
 


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


_______________________________________________________

The information contained in this message may be privileged and conf idential and protected
from disclosure. If you are not the original intended recipient, you are hereby notified that
any review, retransmission, dissemination, or other use of, or taking of any action in reliance
upon, this information is prohibited. If you have received this communication in error, please
notify the sender immediately by replying to this message and delete it from your computer.
Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp
 

Mime
View raw message