Opened 13 years ago

Closed 13 years ago

#1126 closed defect (fixed)

Oscam crash SVN3670 "dvbapi: opendir errno 24"

Reported by: FilipeAmadeuO Owned by:
Priority: Please fill in Component: ! Please select...
Severity: Please fill in Keywords:
Cc: Sensitive: no

Description

Revision

3670

Issue Description

dvbapi: opendir errno 24

When the issue occurs

After some hours

After some hours

Attachments (1)

oscam.zip (20.9 KB ) - added by FilipeAmadeuO 13 years ago.

Download all attachments as: .zip

Change History (11)

by FilipeAmadeuO, 13 years ago

Attachment: oscam.zip added

comment:1 by FilipeAmadeuO, 13 years ago

This problem happens after some hours with oscam in MIPSEL and PPC boxs.
I´me using local sci card, cccam servers, cccam users and webif.
It´s a problem that keeps happening in the latest 250 versions...

Last edited 13 years ago by FilipeAmadeuO (previous) (diff)

comment:2 by _network, 13 years ago

please make a list of all open file descriptors when oscam starts writing out this message.
you can do this by listing the files in the dir named after the pid of oscam in the /proc dir.

ls -l /proc/<pid fo oscam>/fd

comment:3 by FilipeAmadeuO, 13 years ago

Ok Network. In the /proc of dreambox i have 49 folders with different number. How do i know the pid for oscam ? Can i see it in webif ?

comment:4 by _network, 13 years ago

use the command "ps" to find the pid.
executing "netstat -an" would be helpful too.
there you can see to which ip caused that many connections and maybe we can find the causing protocol this way.

comment:5 by FilipeAmadeuO, 13 years ago

Network
The ip that is causing too many connections is the one from the failban. I have like 100 connections from the same ip in different ports.
Can you please check this issue ?

comment:6 by FilipeAmadeuO, 13 years ago

And all the connections status are CLOSE_WAIT...

comment:7 by FilipeAmadeuO, 13 years ago

With SVN3671 i have a lot less connections, but still have 4 connections with info TIME_WAIT

comment:8 by blaky, 13 years ago

i think Time_Wait is correct. its the state before close
you can see the tcp-port is closed after a while

comment:9 by FilipeAmadeuO, 13 years ago

Ok. In my case after 27 minutes of running oscam, i have one banned user, 4 connections with info TIME_WAIT and one with FIN_WAIT2.
The 4 connection remain from the start of oscam.

comment:10 by FilipeAmadeuO, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.