sequenceserver
sequenceserver copied to clipboard
limit query size and customize /tmp dir
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.
Still need this feature since our server has been damaged for many times
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
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?