Opened 6 years ago

Closed 6 years ago

#3459 defect closed worksforme (worksforme)

Server crash with epoll

Reported by: TaranStudio Owned by: TaranStudio
Priority: normal Milestone:
Component: core Keywords:
Cc: exarkun Branch:
Author: Launchpad Bug:

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 6 years ago.
Our server

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by TaranStudio

Our server

comment:1 Changed 6 years ago by exarkun

  • Cc exarkun added
  • Milestone regular-releases deleted
  • Owner changed from exarkun to TaranStudio
  • Type changed from enhancement to defect

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 6 years ago by exarkun

  • Summary changed from Server crash with epool to Server crash with epoll

comment:3 Changed 6 years ago by glyph

  • Resolution set to worksforme
  • Status changed from new to closed

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 6 years ago by exarkun

  • Resolution worksforme deleted
  • Status changed from closed to reopened

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 6 years ago by exarkun

  • Resolution set to worksforme
  • Status changed from reopened to closed

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

Note: See TracTickets for help on using tickets.