sequenceserver icon indicating copy to clipboard operation
sequenceserver copied to clipboard

limit query size and customize /tmp dir

Open tao-bioinfo opened this issue 3 years ago • 3 comments

We set up a sequenceserver app for public and usually the /tmp dir would ran out of disk storage because of long DNA query sizes resulting in large temporary files.

Therefore two configs are needed: (1) an option that limits the maxium input sequence lengths (2) an option that customize a directory for temporary files.

tao-bioinfo avatar Jul 22 '21 09:07 tao-bioinfo

Still need this feature since our server has been damaged for many times

tao-bioinfo avatar Sep 09 '21 02:09 tao-bioinfo

Hi @billzt

  • IIRC we do have a limit of 10mb on query size.
  • if you set $TMPDIR to something else, the data should go elsewhere
  • Regarding data filling up - the way we usually set it up is to have a cron job deleting old things after a while

I hope this helps, Yannick

yannickwurm avatar Sep 09 '21 09:09 yannickwurm

Thanks. Would you be pleased to give a cron example on how to delete long running blast jobs from SequenceServer, while keeping other local blast jobs unaffected?

tao-bioinfo avatar Sep 09 '21 09:09 tao-bioinfo