Hello,
do you get anything in kamailio log messages when the fifo is not
responding?
What version of kamailio do you have?
Removing and creating a new one will not help, since kamailio will
not reopen, so practically will still use the old file descriptor.
Cheers,
Daniel
On 1/18/11 10:54 AM, Anton Roman wrote:
Hi all,
I'm having trouble trying to execute fifo commands with "kamctl
fifo <command>". Just after restarting Kamailio it works
fine, however, sometimes after some days running it doesn't
respond.
kamailio1:~# kamctl fifo which
It doesn't respond so I input Crtl+c and I get:
/usr/local/lib/kamailio//kamctl/kamctl.fifo: line 89:
/tmp/kamailio_fifo: Interrupted system call
If I delete and create the fifo file again (with "rm
/tmp/kamailio_fifo" and "mkfifo /tmp/kamailio_fifo" and "chmod 660
/tmp/kamailio_fifo") it keeps not responding.
Any help is welcome, what can be happening? Below you can find
info about the pipe and the running kamailio.
Thanks in advance,
Best regards
Antón
kamailio1:~# ls -hall /tmp/kamailio_fifo
prw-rw---- 1 root root 0 ene 17 12:01 /tmp/kamailio_fifo
After deleting and creating the fifo file again:
kamailio1:~# ls -hall /tmp/kamailio_fifo
prw-rw-r-- 1 root root 0 ene 18 10:28 /tmp/kamailio_fifo
kamailio1:~# ps -ef | grep kama
root 17369 17245 0 10:12 pts/0 00:00:00 grep kama
kamailio 23277 1 0 Jan15 ? 00:00:00
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23289 23277 0 Jan15 ? 00:00:00
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23291 23277 0 Jan15 ? 00:00:00
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23293 23277 0 Jan15 ? 00:00:00
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23294 23277 0 Jan15 ? 00:00:00
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23295 23277 0 Jan15 ? 00:01:14
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23299 23277 0 Jan15 ? 00:01:13
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23300 23277 0 Jan15 ? 00:01:13
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23303 23277 0 Jan15 ? 00:01:13
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23305 23277 0 Jan15 ? 00:05:29
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23306 23277 0 Jan15 ? 00:05:33
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23309 23277 0 Jan15 ? 00:05:30
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23311 23277 0 Jan15 ? 00:05:31
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23312 23277 0 Jan15 ? 00:00:02
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23313 23277 0 Jan15 ? 00:00:39
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23315 23277 0 Jan15 ? 00:00:00
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23320 23277 0 Jan15 ? 00:00:00
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23321 23277 0 Jan15 ? 00:00:00
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23322 23277 0 Jan15 ? 00:00:05
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
kamailio 23323 23277 0 Jan15 ? 00:00:00
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 512
-u kamailio -g kamailio
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com