Opened 10 years ago

Last modified 7 years ago

#1126 closed defect (Not a bug)

Error from libevent setting read event state for 1023

Reported by: stars Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version: 0.2.2.5-alpha
Severity: Keywords:
Cc: stars, Sebastian, nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Hello,

This morning i have a error in my log:

oct. 18 11:23:48.810 [Warning] Error from libevent setting read event state for 1023 to watched: No such file or directory
oct. 18 11:23:58.355 [Warning] Couldn't open "/home/moonlights/TorTeamHelp/state.tmp" (/home/moonlights/TorTeamHelp/state) for writing: Too many open files
oct. 18 11:23:58.355 [Warning] Unable to write state to file "/home/moonlights/TorTeamHelp/state"
oct. 18 11:23:59.291 [Warning] Couldn't open "/home/moonlights/TorTeamHelp/state.tmp" (/home/moonlights/TorTeamHelp/state) for writing: Too many open files
oct. 18 11:23:59.291 [Warning] Unable to write state to file "/home/moonlights/TorTeamHelp/state"
oct. 18 11:24:01.577 [Warning] Couldn't open "/home/moonlights/TorTeamHelp/state.tmp" (/home/moonlights/TorTeamHelp/state) for writing: Too many open files
oct. 18 11:24:01.577 [Warning] Unable to write state to file "/home/moonlights/TorTeamHelp/state"
oct. 18 11:24:02.724 [Warning] Couldn't open "/home/moonlights/TorTeamHelp/state.tmp" (/home/moonlights/TorTeamHelp/state) for writing: Too many open files
oct. 18 11:24:02.725 [Warning] Unable to write state to file "/home/moonlights/TorTeamHelp/state"
oct. 18 11:24:04.593 [Warning] Couldn't open "/home/moonlights/TorTeamHelp/state.tmp" (/home/moonlights/TorTeamHelp/state) for writing: Too many open files
oct. 18 11:24:04.594 [Warning] Unable to write state to file "/home/moonlights/TorTeamHelp/state"
oct. 18 11:24:05.923 [Warning] Couldn't open "/home/moonlights/TorTeamHelp/state.tmp" (/home/moonlights/TorTeamHelp/state) for writing: Too many open files
oct. 18 11:24:05.923 [Warning] Unable to write state to file "/home/moonlights/TorTeamHelp/state"

i run Kubuntu KArmic 9.10 x86 64 on 64 bits 4 cores

Tor origin/master commit 5ef97ddd42dfd51fc296bb51b612780aec09c5c7

torrc spec: ports exit policy reject all */*

libevent + libevent extra 1.4.2 1.4.11-stable-1 (amd64)

[Automatically added by flyspray2trac: Operating System: Other Linux]

Child Tickets

Change History (4)

comment:1 Changed 10 years ago by Sebastian

I explained on IRC to raise ulimit -n, let's see what happens from there.

"No such file or directory" still seems strange

comment:2 Changed 10 years ago by stars

Hi sebastian,

I have change to 16284 for ulimit -n and restarted Tor, after 2 days this errors was not come again..

Maybe can this task closed, about the "no such file or directory" still strange but wasn't appear anymore.

my best

comment:3 Changed 10 years ago by phobos

flyspray2trac: bug closed.
fixed in our debs as part of implementation

comment:4 Changed 7 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.