Code Monkey home page Code Monkey logo

Comments (3)

ganiuszka avatar ganiuszka commented on July 18, 2024

Hello @bukowski12

Thanks for your question about the timeout. I would propose to add in the Apache Bacularis virtual host config the following directives with this value (10 minutes):

FcgidIdleTimeout 600
FcgidProcessLifeTime 600
FcgidConnectTimeout 600
FcgidIOTimeout 600
Timeout 600
ProxyTimeout 600

Apache Bacularis virtual host config usually you can find here:

For RPMS:

/etc/httpd/conf.d/bacularis.conf

For DEBS:

/etc/apache2/sites-available/bacularis.conf

To make it working you will also need to increase maximum execution time for PHP scripts. It is in php.ini config file:

max_execution_time = 600

PHP configuration file usually you can find in:

For RPMS:

/etc/php.ini

For DEBS (PHP 7.4)

/etc/php/7.3/fpm/php.ini

Please also note that for AJAX requests on the Bacularis client side there is a timeout set in the PRADO framework. If you have a problem with long asynchronous requests, it might be good to increase this value too. In file:

/usr/share/bacularis/protected/vendor/pradosoft/prado/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js

you need to set (in miliseconds):

RequestTimeOut : 600000,

After this change please remember about refreshing the web browser cache.

At the end I would like to mention that sometimes it is better to reorganize FileSet and split it into more jobs than one. This way to restore we don't need to browse and process milions files that takes Bacula Director long time.

Good luck. Please let us know if it helped.

Best regards,
Marcin Haba (gani)

from bacularis-web.

bukowski12 avatar bukowski12 commented on July 18, 2024

It works, thank you.

from bacularis-web.

ganiuszka avatar ganiuszka commented on July 18, 2024

Thank you for the confirmation.

from bacularis-web.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.