F
Firdousi Farozan
Hi All,
In a java process (that uses JNI and socket communications), I get "Too
many open files" error. This is on Solaris.
When debugging further using lsof or pfiles, (with the process id), I
saw many named pipes (FIFO) in open state. Output is something like,
java 17924 root 195u FIFO 0x300262429a0 0t0 800609
(fifofs) PIPE->0x300262428a0
java 17924 root 196u FIFO 0x300263ce040 0t0 800610
(fifofs) PIPE->0x300263ce140
java 17924 root 197u FIFO 0x30026243aa0 0t0 800612
(fifofs) PIPE->0x300262439a0
java 17924 root 198u FIFO 0x300264046e0 0t0 800611
(fifofs) PIPE->0x300264047e0
java 17924 root 199u FIFO 0x3008d323200 0t0 800613
(fifofs) PIPE->0x3008d323300
java 17924 root 200u FIFO 0x300264054a0 0t0 800615
(fifofs) PIPE->0x300264053a0
java 17924 root 201u FIFO 0x3007b1cf6c0 0t0 800614
(fifofs) PIPE->0x3007b1cf7c0
java 17924 root 202u FIFO 0x30026404900 0t0 800616
(fifofs) PIPE->0x30026404a00
java 17924 root 203u FIFO 0x30026405280 0t0 800618
(fifofs) PIPE->0x30026405180
We could see these entries increasing to more than 350, and then the
process crashes.
Do anyone have any ideas on how to debug further?
Regards,
Firdousi Farozan
In a java process (that uses JNI and socket communications), I get "Too
many open files" error. This is on Solaris.
When debugging further using lsof or pfiles, (with the process id), I
saw many named pipes (FIFO) in open state. Output is something like,
java 17924 root 195u FIFO 0x300262429a0 0t0 800609
(fifofs) PIPE->0x300262428a0
java 17924 root 196u FIFO 0x300263ce040 0t0 800610
(fifofs) PIPE->0x300263ce140
java 17924 root 197u FIFO 0x30026243aa0 0t0 800612
(fifofs) PIPE->0x300262439a0
java 17924 root 198u FIFO 0x300264046e0 0t0 800611
(fifofs) PIPE->0x300264047e0
java 17924 root 199u FIFO 0x3008d323200 0t0 800613
(fifofs) PIPE->0x3008d323300
java 17924 root 200u FIFO 0x300264054a0 0t0 800615
(fifofs) PIPE->0x300264053a0
java 17924 root 201u FIFO 0x3007b1cf6c0 0t0 800614
(fifofs) PIPE->0x3007b1cf7c0
java 17924 root 202u FIFO 0x30026404900 0t0 800616
(fifofs) PIPE->0x30026404a00
java 17924 root 203u FIFO 0x30026405280 0t0 800618
(fifofs) PIPE->0x30026405180
We could see these entries increasing to more than 350, and then the
process crashes.
Do anyone have any ideas on how to debug further?
Regards,
Firdousi Farozan