[Home]

Summary:ASTERISK-14234: I can not connect to asterisk console
Reporter:Jay Vaidya (vdyjay)Labels:
Date Opened:2009-05-30 07:06:08Date Closed:2011-06-07 14:07:47
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:when i try to connect to asterisk console with "asterisk -vvvvvvvvvvr" it reply me with

Connected to Asterisk <Version Unknown> currently running on Server failed to create pipe
k (pid = -1)
Server failed to create pipe
k*CLI>

sometime it does not provide any error like previous one.

i am doing outbound dialling on asterisk machine with zap channel


****** ADDITIONAL INFORMATION ******

one of the reasone i can say is ...maximum CPU usage

here is the result of TOP command

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                      
26720 asterisk  23   0 55344  17m 5440 S   74  1.8  11:19.98 asterisk                                                                                                                                    
2878 root      18   0 33324 1364  536 S    8  0.1   1:36.92 pcscd                                                                                                                                        
4131 root      15   0 33408 9568 4628 S    4  1.0   0:16.83 Xorg                                                                                                                                        
3115 mysql     15   0  123m  14m 3240 S    2  1.5   1:12.80 mysqld                                                                                                                                      
28994 asterisk  19   0  2552 1272  936 S    2  0.1   0:25.31 obd3.sh                                                                                                                                      
29005 asterisk  25   0  2552 1276  936 S    1  0.1   0:15.84 obd4.sh                                                                                                                                      
30822 root      15   0 44172 5948 4532 S    1  0.6   0:10.07 gnome-power-man                                                                                                                              
21399 root      16   0     0    0    0 S    1  0.0   0:03.21 pdflush                                                                                                                                      
28987 asterisk  25   0  2556 1292  936 S    1  0.1   0:15.58 obd2.sh                                                                                                                                      
 407 root      11  -5     0    0    0 D    0  0.0  10:59.41 kjournald                                                                                                                                    
1345 asterisk  25   0  3200 1136  908 S    0  0.1   0:00.01 asterisk                                                                                                                                    
3159 root      18   0 24548 9092 5276 S    0  0.9   0:16.09 httpd                                                                                                                                        
   1 root      15   0  2044  636  540 S    0  0.1   0:10.71 init                                                                                                                                        
   2 root      RT   0     0    0    0 S    0  0.0   0:00.64 migration/0                

sometime it goes up to 158 and sometime it show me 1 or 2 % only.

can someone tell me CPU usage is the issue?
                                                                                                               
   3 root      34  19     0    0    0 S    0  0.0   0:00.97 ksoftirqd/0                                                                                                                                  
   4 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/0                  
Comments:By: Tilghman Lesher (tilghman) 2009-05-30 11:20:16

More likely it's the result of a file descriptor leak.  Please show the output of:  ls -1 /proc/`pidof asterisk`/fd | wc -l

You may want to increase the available number of file descriptors by running 'ulimit -n 32000' just prior to starting Asterisk.

Also, note that a file descriptor leak has been fixed between 1.4.24 and 1.4.25.  You would do well to update to 1.4.25.

By: Ronald Chan (loloski) 2009-06-04 15:34:30

I can't reproduced this!

By: Jay Vaidya (vdyjay) 2009-06-05 00:01:33

Sorry guys last issue was due to some Code change by me, Really sorry.
Thanks for you valuable time.

By: Ronald Chan (loloski) 2009-06-05 08:11:41

thanks for your feedback, time to close