VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
shaheryarkh at googlem... Guest
|
Posted: Sun Jul 26, 2009 7:28 am Post subject: [Freeswitch-users] A possible bug in FS causing Linux Kernel |
|
|
Hi,
I am having random Linux Kernel crash problems while running FreeSWITCH as Skype to/from SIP gateway on one of our production servers. This machine is running CentOS 5.2, Kernel version 2.6.18-92.1.22.el5.centos.plusPAE with FS svn revision number 13754.
At time of Kernel crash i could find following crash messages which point to some source code file in FS source tree.
 --------------------- Kernel Begin ------------------------
 3 Time(s): =======================
 3 Time(s): [<c0404eff>] syscall_call+0x7/0xb
 3 Time(s): [<c043ed22>] sys_delete_module+0x192/0x1b8
 3 Time(s): [<c0449011>] audit_syscall_entry+0x14b/0x17d
 3 Time(s): [<c049f4fe>] remove_proc_entry+0x139/0x18c
 3 Time(s): [<f8d96281>] alsa_sound_exit+0xa/0x30 [snd]
 3 Time(s): [<f8d96304>] snd_info_done+0x46/0x49 [snd]
 3 Time(s): BUG: warning at fs/proc/generic.c:732/remove_proc_entry() (Not tainted)
 1 Time(s): snd-malloc: Memory leak? pages not freed = 1
 ---------------------- Kernel End -------------------------
While the problem seems to arise from ALSA kernel module but it blames FS file fs/proc/generic.c:732 for this. The only FS module that is using ALSA is mod_skypiax but as far as i remember that module is using FS internal routines to allocate and de-allocate sound driver services for Skype client.
Please suggest a solution.
Thank you.
--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com (shari_786pk@hotmail.com)
Email: shaheryarkh@googlemail.com (shaheryarkh@googlemail.com) |
|
Back to top |
|
|
gmaruzz at celliax.org Guest
|
Posted: Sun Jul 26, 2009 7:43 am Post subject: [Freeswitch-users] A possible bug in FS causing Linux Kernel |
|
|
Performance problems and other issues (eg crashes on ALSA drivers) has
been reported for Skypiax on CentOS, albeit various users got good
success on same CentOS. The section down below, "Extreme" Performances
on Linux solves all problems for the user that got issues on CentOS.
http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk#.22Extreme.22_Performances_on_Linux
On Sun, Jul 26, 2009 at 2:37 PM, Giovanni Maruzzelli<gmaruzz@celliax.org> wrote:
Quote: | Ciao Muhammad,
I've got many problems with ALSA drivers, including various kind of crashes.
To make a looong story short, use the alsa_drivers version 1.0.20,
they have not yet crashed on me.
Also, if you want to test it, you can compile the customized snd-dummy
driver you find in the svn code, it is a try to have much more
efficiency bot in softirqs and context switches, allows for 64 Skype
instances (128 subdevices), etc. it is to be compiled with
alsa_drivers 1.0.20 too.
Is my feeling (I mean, almost sure) they got spin_locking wrong in
previous versions, and it crashes the kernel when you "really" use it
(Skype clients have a demented usage of alsa).
BTW, I'm in the process of revamp the code, fix the bugs and apply
patches. Please, have a look at the new wiki page with lots of new
content, I'll send a mail to the ML tomorrow
Sincerely,
Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039
On Sun, Jul 26, 2009 at 2:19 PM, Muhammad
Shahzad<shaheryarkh@googlemail.com> wrote:
Quote: | Hi,
I am having random Linux Kernel crash problems while running FreeSWITCH as
Skype to/from SIP gateway on one of our production servers. This machine is
running CentOS 5.2, Kernel version 2.6.18-92.1.22.el5.centos.plusPAE with FS
svn revision number 13754.
At time of Kernel crash i could find following crash messages which point to
some source code file in FS source tree.
--------------------- Kernel Begin ------------------------
3 Time(s): =======================
3 Time(s): [<c0404eff>] syscall_call+0x7/0xb
3 Time(s): [<c043ed22>] sys_delete_module+0x192/0x1b8
3 Time(s): [<c0449011>] audit_syscall_entry+0x14b/0x17d
3 Time(s): [<c049f4fe>] remove_proc_entry+0x139/0x18c
3 Time(s): [<f8d96281>] alsa_sound_exit+0xa/0x30 [snd]
3 Time(s): [<f8d96304>] snd_info_done+0x46/0x49 [snd]
3 Time(s): BUG: warning at fs/proc/generic.c:732/remove_proc_entry() (Not
tainted)
1 Time(s): snd-malloc: Memory leak? pages not freed = 1
---------------------- Kernel End -------------------------
While the problem seems to arise from ALSA kernel module but it blames FS
file fs/proc/generic.c:732 for this. The only FS module that is using ALSA
is mod_skypiax but as far as i remember that module is using FS internal
routines to allocate and de-allocate sound driver services for Skype client.
Please suggest a solution.
Thank you.
--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
gmaruzz at celliax.org Guest
|
Posted: Sun Jul 26, 2009 7:44 am Post subject: [Freeswitch-users] A possible bug in FS causing Linux Kernel |
|
|
Ciao Muhammad,
I've got many problems with ALSA drivers, including various kind of crashes.
To make a looong story short, use the alsa_drivers version 1.0.20,
they have not yet crashed on me.
Also, if you want to test it, you can compile the customized snd-dummy
driver you find in the svn code, it is a try to have much more
efficiency bot in softirqs and context switches, allows for 64 Skype
instances (128 subdevices), etc. it is to be compiled with
alsa_drivers 1.0.20 too.
Is my feeling (I mean, almost sure) they got spin_locking wrong in
previous versions, and it crashes the kernel when you "really" use it
(Skype clients have a demented usage of alsa).
BTW, I'm in the process of revamp the code, fix the bugs and apply
patches. Please, have a look at the new wiki page with lots of new
content, I'll send a mail to the ML tomorrow
Sincerely,
Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039
On Sun, Jul 26, 2009 at 2:19 PM, Muhammad
Shahzad<shaheryarkh@googlemail.com> wrote:
Quote: | Hi,
I am having random Linux Kernel crash problems while running FreeSWITCH as
Skype to/from SIP gateway on one of our production servers. This machine is
running CentOS 5.2, Kernel version 2.6.18-92.1.22.el5.centos.plusPAE with FS
svn revision number 13754.
At time of Kernel crash i could find following crash messages which point to
some source code file in FS source tree.
--------------------- Kernel Begin ------------------------
3 Time(s): =======================
3 Time(s): [<c0404eff>] syscall_call+0x7/0xb
3 Time(s): [<c043ed22>] sys_delete_module+0x192/0x1b8
3 Time(s): [<c0449011>] audit_syscall_entry+0x14b/0x17d
3 Time(s): [<c049f4fe>] remove_proc_entry+0x139/0x18c
3 Time(s): [<f8d96281>] alsa_sound_exit+0xa/0x30 [snd]
3 Time(s): [<f8d96304>] snd_info_done+0x46/0x49 [snd]
3 Time(s): BUG: warning at fs/proc/generic.c:732/remove_proc_entry() (Not
tainted)
1 Time(s): snd-malloc: Memory leak? pages not freed = 1
---------------------- Kernel End -------------------------
While the problem seems to arise from ALSA kernel module but it blames FS
file fs/proc/generic.c:732 for this. The only FS module that is using ALSA
is mod_skypiax but as far as i remember that module is using FS internal
routines to allocate and de-allocate sound driver services for Skype client.
Please suggest a solution.
Thank you.
--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
shaheryarkh at googlem... Guest
|
Posted: Sun Jul 26, 2009 7:50 am Post subject: [Freeswitch-users] A possible bug in FS causing Linux Kernel |
|
|
Thanks. Let me try it and let you know the results.
Thank you.
On Sun, Jul 26, 2009 at 5:40 PM, Giovanni Maruzzelli <gmaruzz@celliax.org (gmaruzz@celliax.org)> wrote:
Quote: | Performance problems and other issues (eg crashes on ALSA drivers) has
been reported for Skypiax on CentOS, albeit various users got good
success on same CentOS. The section down below, "Extreme" Performances
on Linux solves all problems for the user that got issues on CentOS.
http://wiki.freeswitch.org/wiki/Skypiax_Skype_Endpoint_and_Trunk#.22Extreme.22_Performances_on_Linux
On Sun, Jul 26, 2009 at 2:37 PM, Giovanni Maruzzelli<gmaruzz@celliax.org (gmaruzz@celliax.org)> wrote:
Quote: | Ciao Muhammad,
I've got many problems with ALSA drivers, including various kind of crashes.
To make a looong story short, use the alsa_drivers version 1.0.20,
they have not yet crashed on me.
Also, if you want to test it, you can compile the customized snd-dummy
driver you find in the svn code, it is a try to have much more
efficiency bot in softirqs and context switches, allows for 64 Skype
instances (128 subdevices), etc. it is to be compiled with
alsa_drivers 1.0.20 too.
Is my feeling (I mean, almost sure) they got spin_locking wrong in
previous versions, and it crashes the kernel when you "really" use it
(Skype clients have a demented usage of alsa).
BTW, I'm in the process of revamp the code, fix the bugs and apply
patches. Please, have a look at the new wiki page with lots of new
content, I'll send a mail to the ML tomorrow
Sincerely,
Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039
On Sun, Jul 26, 2009 at 2:19 PM, Muhammad
Shahzad<shaheryarkh@googlemail.com (shaheryarkh@googlemail.com)> wrote:
Quote: | Hi,
I am having random Linux Kernel crash problems while running FreeSWITCH as
Skype to/from SIP gateway on one of our production servers. This machine is
running CentOS 5.2, Kernel version 2.6.18-92.1.22.el5.centos.plusPAE with FS
svn revision number 13754.
At time of Kernel crash i could find following crash messages which point to
some source code file in FS source tree.
 --------------------- Kernel Begin ------------------------
 3 Time(s): =======================
 3 Time(s): [<c0404eff>] syscall_call+0x7/0xb
 3 Time(s): [<c043ed22>] sys_delete_module+0x192/0x1b8
 3 Time(s): [<c0449011>] audit_syscall_entry+0x14b/0x17d
 3 Time(s): [<c049f4fe>] remove_proc_entry+0x139/0x18c
 3 Time(s): [<f8d96281>] alsa_sound_exit+0xa/0x30 [snd]
 3 Time(s): [<f8d96304>] snd_info_done+0x46/0x49 [snd]
 3 Time(s): BUG: warning at fs/proc/generic.c:732/remove_proc_entry() (Not
tainted)
 1 Time(s): snd-malloc: Memory leak? pages not freed = 1
 ---------------------- Kernel End -------------------------
While the problem seems to arise from ALSA kernel module but it blames FS
file fs/proc/generic.c:732 for this. The only FS module that is using ALSA
is mod_skypiax but as far as i remember that module is using FS internal
routines to allocate and de-allocate sound driver services for Skype client.
Please suggest a solution.
Thank you.
--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com (shari_786pk@hotmail.com)
Email: shaheryarkh@googlemail.com (shaheryarkh@googlemail.com)
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com (shari_786pk@hotmail.com)
Email: shaheryarkh@googlemail.com (shaheryarkh@googlemail.com) |
|
Back to top |
|
|
gmaruzz at celliax.org Guest
|
Posted: Sun Jul 26, 2009 8:37 am Post subject: [Freeswitch-users] A possible bug in FS causing Linux Kernel |
|
|
On Sun, Jul 26, 2009 at 2:19 PM, Muhammad
Shahzad<shaheryarkh@googlemail.com> wrote:
Quote: | Hi,
I am having random Linux Kernel crash problems while running FreeSWITCH as
Skype to/from SIP gateway on one of our production servers. This machine is
running CentOS 5.2, Kernel version 2.6.18-92.1.22.el5.centos.plusPAE with FS
svn revision number 13754.
While the problem seems to arise from ALSA kernel module but it blames FS
file fs/proc/generic.c:732 for this. The only FS module that is using ALSA
is mod_skypiax but as far as i remember that module is using FS internal
routines to allocate and de-allocate sound driver services for Skype client.
|
Also, please note that neither mod_skypiax nor FreeSWITCH have nothing
to do with ALSA (eg: no ALSA code at all in mod_skypiax or
FreeSWITCH).
Is the Skype client instance that uses the sound driver, just like on
a desktop Skype client usage
The Skype client instances are started by a shell script, but you
could as well start them from the command line, and are completely
autonomous from FreeSWITCH (FS do not allocate or deallocate sound
driver services for them).
Summary: it's just the ALSA drivers that are to blame
-giovanni
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|