incubator-vcl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Patterson <alexander.patter...@csueastbay.edu>
Subject How to Change time out time in VCL code?
Date Fri, 19 Nov 2010 23:47:30 GMT
Hi Aaron -

We made the changes you suggested
to /var/www/html/apache-VCL-2.1-incubating/managementnode/lib/VCL/
reserved.pm  . The reservations are still timing out after 15 minutes.

The changes were applied as seen below. But it didn't change the time from
15 minutes to 20 minutes like we wanted

Let us know if we missed any steps


Here's  the Reserved.pm file after change
##############################
####################
*1. **LINE 315*
elsif ($acknowledge_attempts <* 240*) {
                # User has approximately 20 minutes to acknowledge (5
seconds * 240 attempts)

                # Print a status message every tenth attempt
                if (($acknowledge_attempts % 10) == 0) {
                        # Print message every tenth attempt
                        notify($ERRORS{'OK'}, 0, "attempt
$acknowledge_attempts of 240, user has not acknowleged");
                }

                sleep 5;

*2. **LINE 165 *
        my $connected     = 0;
        my $curr_time     = time();
        my $time_limit    =* 20;*
        my $time_exceeded = 0;
        my $break         = 0;


*3.* Restarted  vcld and httpd after saving the changes
##################################################


-- 
Thanks,
Alex  Patterson
User Support Services
Operating System Analyst
California State University, East Bay

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message