LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-12-2010, 05:55 AM   #1
msridhar87
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
Error when sending SNMP traps


Hi,
I have an issue when sending snmp traps. I have an embedded system connected to a SNMP manager. I am sending traps from the box to the manager continuosly. After sometime I don't see any trpas coming out.
I get this error message.

Cannot open file /proc/net/tcp ...
: Too many open files
Cannot open file /proc/net/snmp ...
: Too many open files

What could be the reason for such an error?
 
Old 05-12-2010, 10:38 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by msridhar87 View Post
Hi,
I have an issue when sending snmp traps. I have an embedded system connected to a SNMP manager. I am sending traps from the box to the manager continuosly. After sometime I don't see any trpas coming out.
I get this error message.

Cannot open file /proc/net/tcp ...
: Too many open files
Cannot open file /proc/net/snmp ...
: Too many open files

What could be the reason for such an error?
Gee....maybe TOO MANY OPEN FILES???

Since you're running custom linux, on a custom board, and provide no details about EITHER, we can't really do much to help you. A 'regular' version of Linux could have the ulimit increased, to enable more files to be opened. In your case, though, chances are it could also be a poorly written program, that's leaving files open. Check your code, and up your ulimit.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SNMP Authentication Failure Traps mstasinski Linux - Server 1 08-22-2014 03:09 PM
Using SNMP Traps jiml8 Linux - Server 4 04-15-2009 11:29 AM
SNMP traps receiving noir911 Linux - Server 1 10-11-2008 06:32 AM
Snmp Traps magin Linux - Networking 0 07-13-2007 05:13 AM
snmp traps to syslog jackpal Linux - Networking 2 08-30-2005 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration