0

I was trying to set maximum filesize using bsub -F option. But there is no manual suggesting max value.

Can some body please help in setting maximum value for filesize limit.

learner
  • 1,952
  • 7
  • 33
  • 62
  • There's no suggested max value because it's completely dependent on what you expect the application will create. – Squirrel Oct 02 '15 at 11:34

1 Answers1

0

As Squirrel comments, this is an application specific choice. This is an optional input and I think the idea here is to prevent a runaway job from filling up storage space. If a job exceeds this limit, LSF will be kill that job.

Quote from documentation:

-F file_limit

Sets a per-process (soft) file size limit for each of the processes that belong to the job (see getrlimit(2)). The limit is specified in KB.

If a job process attempts to write to a file that exceeds the file size limit, then that process is sent a SIGXFSZ signal. The SIGXFSZ signal normally terminates the process.

Community
  • 1
  • 1
Gowtham
  • 1,465
  • 1
  • 15
  • 26
  • Actually reason I am looking for max value is because I am launching this as a child process and I have already set some limits on parent which I didn't want child to inherit. – learner Oct 03 '15 at 17:24
  • Max file size depends on the file system and of course, on available storage space. This might help - http://stackoverflow.com/questions/13305508/how-the-file-size-is-limited-on-a-specific-file-system – Gowtham Oct 03 '15 at 17:32