Opened 8 years ago

Closed 8 years ago

#3459 defect closed worksforme (worksforme)

Server crash with epoll

Reported by: TaranStudio Owned by: TaranStudio
Priority: normal Milestone:
Component: core Keywords:
Cc: Jean-Paul Calderone Branch:
Author:

Description

After connecting 500 clients server works normally for 10-30 minutes. Then it crashs. It looks like server breaks all connections with clients and doesn't make new connectons any more. Listening port is still alive but client recieves only FIN-packet from server.

We may possibly have an error in our code. Everything was made according to manuals. We use: Ubuntu Linux 8.04; python2.4; twisted 8.1 and twisted 2.5.

Attachments (1)

epoll_server.py (4.8 KB) - added by TaranStudio 8 years ago.
Our server

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by TaranStudio

Attachment: epoll_server.py added

Our server

comment:1 Changed 8 years ago by Jean-Paul Calderone

Cc: Jean-Paul Calderone added
Milestone: regular-releases
Owner: changed from Jean-Paul Calderone to TaranStudio
Type: enhancementdefect

The server attached isn't runnable in any interesting way (that is, I can run it, but it doesn't do anything). I also don't know what a client for this server should do. So, could you do two things:

  1. attach a file that, when run, actually runs the server and accepts client connections until the error is produced
  2. attach a file which acts as a (or several) client, connects to the server, and causes the error to be produced

comment:2 Changed 8 years ago by Jean-Paul Calderone

Summary: Server crash with epoolServer crash with epoll

comment:3 Changed 8 years ago by Glyph

Resolution: worksforme
Status: newclosed

Without the information that exarkun has asked for, there's nothing we can do about this bug. I am closing it for the time being.

However, please feel free to re-open it when you have provided the requested information. I would much rather fix it, if it is a real issue - but, since the problem may actually be with your code, or with your system's configuration, and not with Twisted, I'd rather not have this ticket remain open if there's nothing that we can do about it.

comment:4 Changed 8 years ago by Jean-Paul Calderone

Resolution: worksforme
Status: closedreopened

I think we can wait longer than 8 hours to wait for a response from the original poster before closing the ticket.

comment:5 Changed 8 years ago by Jean-Paul Calderone

Resolution: worksforme
Status: reopenedclosed

Alright, two weeks later and no response from the reporter. Please see Glyph's previous comment.

Note: See TracTickets for help on using tickets.