Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX4 Boundaries....: (5 Items)
   
QNX4 Boundaries....  
Is there any way to increase the simultaneous open files and process executing on QNX4 ? I hava a server with QNX with 
many tcp/ip sessions wich open programs wich use several files each program. Everything was function well, but now with 
the increase number of tcpip sesions (many sales point, inventory, etc) the programas holds or are rejected. We have to 
reset the server, for a while everything goes well but when many people access the server, the problem presents again. 
On the OS Build file I have this 2 lines:

sys/Proc32
$ Proc32 -l 1 -p 3500 -s 384 -H -f 16 4096 56000

/bin/Fsys
$ Fsys -f 4096 -Hdisk1160 -r 120M

If I updates Proc32 do I get any solution to the problem ? Or can I change some configuration ?
Thanks in advance for your help.

Victor Gamboa
Re: QNX4 Boundaries....  
Theese entries are from traceinfo:

Oct 23 11:23:55 1 00001005 Last run fault at 0007:0000B1DA
Oct 23 11:24:58 2 00002010 Generate sighup(4215)
Oct 23 11:24:59 2 00002010 Generate sighup(4303)
Oct 23 11:25:09 1 00001013 Run fault 4813 000B 000E //1/usr/bin/vpg4
Oct 23 11:25:09 1 00001005 Last run fault at 0007:0000B1DA
Oct 23 11:25:22 2 00002010 Generate sighup(4872)
Oct 23 11:27:22 1 00001013 Run fault 3935 000B 000E //1/usr/bin/vpg4
Oct 23 11:27:22 1 00001005 Last run fault at 0007:0000B1DA
Oct 23 11:27:41 1 00001013 Run fault 4426 000B 000E //1/usr/bin/vpg4
Oct 23 11:27:41 1 00001005 Last run fault at 0007:0000B1DA
Oct 23 11:28:25 1 00001013 Run fault 3876 000B 000E //1/usr/bin/vpg4
Oct 23 11:28:25 1 00001005 Last run fault at 0007:0000B1DA
Oct 23 11:30:03 1 00001013 Run fault 5056 000B 000E //1/usr/bin/vpg4
Oct 23 11:30:03 1 00001005 Last run fault at 0007:0000B1DA
Oct 23 11:31:19 1 00001013 Run fault 3984 000B 000E //1/usr/bin/vpg4
Oct 23 11:31:19 1 00001005 Last run fault at 0007:0000B1DA
Oct 23 11:31:57 2 00002010 Generate sighup(5243)
Oct 23 11:32:53 1 00001013 Run fault 5113 000B 000E //1/usr/bin/vpg4
Oct 23 11:32:53 1 00001005 Last run fault at 0007:0000B1DA
Oct 23 11:36:01 2 00002010 Generate sighup(5527)
Oct 23 11:36:41 1 00001013 Run fault 5439 000B 000E //1/usr/bin/vpg4
Oct 23 11:36:41 1 00001005 Last run fault at 0007:0000B1DA
Oct 23 11:38:16 2 00002010 Generate sighup(4446)
Warning! 10 overruns have occurred. Some trace events lost.
Re: QNX4 Boundaries....  
Hi Victor,

Of course you can increase the number of file descriptors by the Proc32 
-f option which has the following format:
   -f min_fds_per_proc max_fds_per_proc total_fds
The maximum number of processes in QNX4 is 2000 and can be set by the 
Proc32 -p option.
Also if you use the Tcpip socket manager from the TCP/IP 5 stack may be 
you should increase the amount of memory for mbufs (look at Tcpip -m 
option).

Regards,
Pavel

23.10.2014 21:26, Victor Gamboa:
> Is there any way to increase the simultaneous open files and process executing on QNX4 ? I hava a server with QNX with
 many tcp/ip sessions wich open programs wich use several files each program. Everything was function well, but now with
 the increase number of tcpip sesions (many sales point, inventory, etc) the programas holds or are rejected. We have to
 reset the server, for a while everything goes well but when many people access the server, the problem presents again. 
On the OS Build file I have this 2 lines:
>
> sys/Proc32
> $ Proc32 -l 1 -p 3500 -s 384 -H -f 16 4096 56000
>
> /bin/Fsys
> $ Fsys -f 4096 -Hdisk1160 -r 120M
>
> If I updates Proc32 do I get any solution to the problem ? Or can I change some configuration ?
> Thanks in advance for your help.
>
> Victor Gamboa
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post112133
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>


Re: QNX4 Boundaries....  
Hi Pavel, the process limit is 2,000 ?
I set on the build file this:
sys/Proc32
$ Proc32 -l 1 -p 3500 -s 384 -H -f 16 4096 56000

So, the 3,500 that I used is wrong ? 
In my before reply I put the traceinfo entries, did it help to find out the problem ?
Re: QNX4 Boundaries....  
Hi Victor,

Yes, 2000 is the maximum number of processes. Send me output of following commands in one tarball when program got holds
 or rejects:

sin in
sin fd
sin ar
sin
sin ti

Also try to increase GDTs and LDTs via -S option of Proc32.

Respectfully,
Oleg

24 окт. 2014 г., в 21:56:30, Victor Gamboa <community-noreply@qnx.com> написал:

> Hi Pavel, the process limit is 2,000 ?
> I set on the build file this:
> sys/Proc32
> $ Proc32 -l 1 -p 3500 -s 384 -H -f 16 4096 56000
> 
> So, the 3,500 that I used is wrong ? 
> In my before reply I put the traceinfo entries, did it help to find out the problem ?
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post112153
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com