Getting an error display, vp_freepkt: Bad file descriptor.

Hello all,

We have developed a bandwidth regulating software in QNX4.5(In application space). We are getting the network packets into the application space using the Virtual Packet Interface(VPI) and regulating them and send it back using the same VPI.

It’s working fine with moderate network traffic. But in the case of heavy traffic, it’s working but displays the following error message continuously.

vp_freepkt: Bad file descriptor.

If anybody have any idea about this, please let me know.

Thanks in advance
Jith.
«·´·.(*·.¸(·.¸ ¸.·´)¸.·).·´·» «..........Prajith P.K..............» «·´·.(¸.·(¸.·´ ·.¸)*·.¸).·´·»
GlobalEdge Software Ltd.
Bangalore 560003
Cell : 9886171652

Maybe you ran out of file descriptors, and possibly other resources.
Try to increase that (make a new boot image).


On Fri, 1 Oct 2004 20:54:55 +0530, Prajith <prajith-U1VcRrJwn5T8CqgTAz400NBPR1lH4CV8@public.gmane.org> wrote:

Hello all,

We have developed a bandwidth regulating software in QNX4.5(In application space). We are getting the network packets into the application space using the Virtual Packet Interface(VPI) and regulating them and send it back using the same VPI.

It’s working fine with moderate network traffic. But in the case of heavy traffic, it’s working but displays the following error message continuously.

vp_freepkt: Bad file descriptor.

If anybody have any idea about this, please let me know.

Thanks in advance
Jith.
«·´·.(*·.¸(·.¸ ¸.·´)¸.·).·´·» «..........Prajith P.K..............» «·´·.(¸.·(¸.·´ ·.¸)*·.¸).·´·»
GlobalEdge Software Ltd.
Bangalore 560003
Cell : 9886171652


This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

Hi all.

As sugggested by Frank, I have build a new boot image with a maximum of
2048 file descripters/process ( Proc32 -f 16 2048 8000) and tried. But no
effect.

Our Bandwidth Manager is showing around 20 times the error message
“vp_freepkt: Bad file descriptor.” while transfering a 5MB file at a
bandwidth regulation of 1Mbits/sec, irespective of the available no.of
file descripters/process.(even I have tied with Proc32 -f 16 10240 20480,
then too I got around 20 error messages.).

We have implemented a queueing discipline (CBQ) in the application space,
where we are getting network packets using the VPI (Virtual Packet
Interface) as a IP FILTER. These queueing disciplines keeps the netwoks
packets for a while and send them back in a random order(not in the
sequeuece in which packets are received). Will this make any problem in VPI
(keeping packets for a while in memory and send them back in a random
order)?
Or is there any way to configure the Virtual Packet Interface?

Please give us some solution/suggestion/comments.

Thanks in advance
Jith.


----- Original Message -----
From: Frank Liu <gfrankliu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Prajith <prajith-U1VcRrJwn5T8CqgTAz400NBPR1lH4CV8@public.gmane.org>
Sent: Friday, October 01, 2004 10:54 PM
Subject: Re: [Openqnx-developer] Getting an error display, vp_freepkt: Bad
file descriptor.


Maybe you ran out of file descriptors, and possibly other resources.
Try to increase that (make a new boot image).

Frank


----- Original Message -----
From: Prajith <prajith-U1VcRrJwn5T8CqgTAz400NBPR1lH4CV8@public.gmane.org>
Date: Fri, 1 Oct 2004 20:54:55 +0530
Subject: [Openqnx-developer] Getting an error display, vp_freepkt:
Bad file descriptor.
To: openqnx-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org


Hello all,

We have developed a bandwidth regulating software in QNX4.25(In
application space). We are getting the network packets into the
application space using the Virtual Packet Interface(VPI) and
regulating them and send it back using the same VPI.

It’s working fine with moderate network traffic. But in the case of
heavy traffic, it’s working but displays the following error message
continuously.

vp_freepkt: Bad file descriptor.

If anybody have any idea about this, please let me know.

Thanks in advance
Jith.
«·´·.(*·.¸(·.¸ ¸.·´)¸.·).·´·» «..........Prajith P.K..............» «·´·.(¸.·(¸.·´ ·.¸)*·.¸).·´·»
GlobalEdge Software Ltd.
Bangalore 560003
Cell : 9886171652



\

This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl