Zombie process in libpurple.
Rehan
rehan.shaikh at radarspot.com
Mon Apr 23 12:29:30 EDT 2007
Thanks Luke and Sadrul for the great advice ... The problem is solved now :)
No more Zombies.
Luke Schierer-5 wrote:
>
> On Mon, Apr 23, 2007 at 08:01:52AM -0700, Rehan wrote:
>>
>> Thanks for the reply.
>>
>> But they are not acting as you mentioned. The threads are still in
>> zombie
>> state and the count keeps on increasing as user logins and logouts...
>>
>> I am not using any advance feature of libpurple like sound, images etc.
>> etc.
>> I use only login,logout, change status and send and recieve message calls
>> from the libpurple.
>>
>> Regards,
>> Rehan.
>
> Is your application handling SIGCHLD? Take a look at pidgin/gtkmain.c
> or finch/gntmain.c for examples of this.
>
> luke
>
>>
>>
>> Luke Schierer-5 wrote:
>> >
>> > On Mon, Apr 23, 2007 at 07:32:30AM -0700, Rehan wrote:
>> >>
>> >> Hi,
>> >>
>> >> I am developing an application powered by libpurple. But some
>> strange
>> >> thing is happening when i execute my application. Whenever a user
>> logins
>> >> into MSN 1-2 zombie process of my application is created which is not
>> >> killed
>> >> even after the user logouts. So per user logged in i have 2 zombies
>> which
>> >> eats up hell lot of process table space.
>> >>
>> >> As far as i know libpurple is single threaded and uses glib and my
>> >> application is also using glib and does not create any new thread.
>> >> I am confused is this a problem in glib or libpurple or am i doing
>> >> something wrong in my application while communicating libpurple.
>> >>
>> >> Thanks in advance to all great purple developers...
>> >>
>> >> Regards,
>> >> Rehan.
>> >
>> > My guess is that these are dns processes that will kill themselves in
>> 30
>> > seconds (after their last use) or so.
>> >
>> > luke
>> >
>> > _______________________________________________
>> > Devel mailing list
>> > Devel at pidgin.im
>> > http://pidgin.im/cgi-bin/mailman/listinfo/devel
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Zombie-process-in-libpurple.-tf3631984.html#a10142106
>> Sent from the Pidgin - Development mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at pidgin.im
>> http://pidgin.im/cgi-bin/mailman/listinfo/devel
> _______________________________________________
> Devel mailing list
> Devel at pidgin.im
> http://pidgin.im/cgi-bin/mailman/listinfo/devel
>
>
--
View this message in context: http://www.nabble.com/Zombie-process-in-libpurple.-tf3631984.html#a10143941
Sent from the Pidgin - Development mailing list archive at Nabble.com.
More information about the Devel
mailing list