[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] libevent with python segfaulting
- To: libevent-users@xxxxxxxx
- Subject: [Libevent-users] libevent with python segfaulting
- From: Michael Gale <gale.michael@xxxxxxxxx>
- Date: Sun, 1 Aug 2010 13:01:08 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Sun, 01 Aug 2010 15:01:15 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=HFSITaRpaXfLbzkFqZ0pAEcqLxNQG52OI5pgDN8DDg4=; b=DWoEW6bdgF16k5TNx6z1aC4OLSAWDkZl57dvOe4dMiZtQXX5l1Bz0jI4wH/ciTA3Kd rrJO6oDkBmmiLuWDsHPULX2MfmpBvFnykRFKUPoON9UIix3UGVcFsus/oiNRmU/RZNAm blZtesaY72wz50+Yb5Gl3y59a/WWidsZ3f1k0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eeSD1qEEaf1wyvXOei8fk2RZ2IEthNWhIVKYc5us5mBKSUnITHZjyB7CUk5dAjqKL3 TJpl8hFtOJQM+0wMTvgZvJ7POknTUKbSTVk7lo0kuBG4Y6YXp4RhCN86TcP9ZiDtsfjf WGEYDn6ka4iGIyAfN+bGPyI+CMnm0FQr5wuGg=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hello,
I am using the latest release of libevent-python and the latest release of libevent-1.4.
After I am done writing data and close the socket I attempt to remove the write event callback from the event loop. If I do this the server segfaults between 500 and 600 connections.
If I do not attempt to remove the write event for the fd, the server appears to scale with out issues accept the connection objects are never garbaged collected and it eventually runs out of memory.
Any suggestions on how to resolve / find the segfault issue or a better method to use libevent with python?
Thanks
Michael