Hello managers !
I'm trying to build multi-thread application.
My program works well in single thread mode, it means no. of thread =
1 at multi-thread application.
But in multi-thread mode, my program doesn't work some time.
I tried to reduce nested subroutine calls after enlarging the stack
size with setrlimit() system call and pthread_attr_setstacksize()
system call.
It seemed to work well.
But for my another multi-thread application, it is difficult to reduce
nested subroutine calls.
I read "System Tuning and Performance Management". They suggested to
use 'sysconfig -r' for testing.
But it doesn't work.
They suggested to rebuild the kernel with other system parameters.
But I'm reluctant to rebuild kernel, I worry about side effects and I
didn't figure out how to rebuild the kernel.
I use DEC OSF/1 v3.2B with AXP 2100/4 server with 4 cpu's and 512M
RAM.
Any comment will be welcomed.
Sincerely,
Bo
Received on Wed Nov 06 1996 - 05:42:46 NZDT