This is most likely due to the kernel release you have does not support oom_adj 
(out of memory adjust)...

The 'readme' with scsi target code indicates you should be running at least 
2.6.20 (or there abouts).

However, just remove (or edit the file where oom_adj is called from) to return 
a success (tgtd.c).

It is just a method used to adjust the kernel's out-of-memory behaviour. As 
long as you have enough virtual memory, this is not required - just one of 
those 'nice to have' features.

Cheers
Mark

aniket agashe wrote:

hi!!!!!!!!!!!


i m having problem in installing scsi-target-utils-0.1-20080629.x86_64.rpm as failed dependencies libcrypto.so.6(64 bit) required.
So i tried to use tgt-20080715.tar file i  compiled it with option
make ISCSI=1 ISCSI_RDMA=1
and tried to run it with
./tgtd -d 9 -f

getting output as:

-->can't adjust oom-killer's pardon /proc/5727/oom_adj, No such file or directory


file /proc/sys/vm/oom-kill contains 1 i.e. oom killer is enabled but oom_adjust file is not created during run of a tgtd(daemon).

what factor manages the file created under /proc/<pid>/ ?


i hv currently RHEL4-U4-x86_64 WS installed on my machine

please help me out


------------------------------------------------------------------------

_______________________________________________
Stgt-devel mailing list
[EMAIL PROTECTED]
https://lists.berlios.de/mailman/listinfo/stgt-devel

_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to