OpenQNX :: The QNX Community Portal

Oct 07, 2008 - 11:36 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 46 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Prajith
Post subject: Getting an error display, vp_freepkt: Bad file descriptor.  PostPosted: Oct 01, 2004 - 03:36 PM
Guest





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
 
   
Reply with quote Back to top
Frank Liu
Post subject: Re: Getting an error display, vp_freepkt: Bad file descripto  PostPosted: Oct 01, 2004 - 05:52 PM
Guest





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:
Quote:

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
 
   
Reply with quote Back to top
Prajith
Post subject: Re: Getting an error display, vp_freepkt: Bad file descripto  PostPosted: Oct 05, 2004 - 01:09 PM
Guest





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
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.