Search Results

Search: Posts Made By: lakshmankumar12
3,839
Posted By lakshmankumar12
If u r sure gen_log is fine, I suggest u take a...
If u r sure gen_log is fine, I suggest u take a copy of line in a another array and pass that to popen.

like ..

char tempLine[200];
strcpy( tempLine , line );
gen_log( both line and tempLine...
3,839
Posted By lakshmankumar12
are u sure ur gen_log fn doesn't spoil line....
are u sure ur gen_log fn doesn't spoil line. Check it by calling gen_log twice before popen and running it a few times as u say the problem occurs occasionally.
3,839
Posted By lakshmankumar12
can u show the code before popen(). the signature...
can u show the code before popen(). the signature for popen is

FILE* popen( const char * , const char *);

since it takes only const char * there is no way the popen command can change the...
15,022
Posted By lakshmankumar12
Yes. I am using a library ACE and it is that...
Yes. I am using a library ACE and it is that library which lowers the limits. I am trying to make the library not to do it.

Thanks.
15,022
Posted By lakshmankumar12
Max No of Open File Descriptors in a process
I have set the maximum no of file descriptors open in a process to the value 8192 using the following lines

set rlim_fd_max=8192
set rlim_fd_cur=8192

in the /etc/system file.


I rebooted...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 01:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy