Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Keep The TechnoWorldInc.com Community Clean: Read Guidelines Here.
Recent Updates
[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[April 12, 2025, 01:54:20 PM]

[March 12, 2025, 03:05:30 PM]

[March 12, 2025, 03:05:30 PM]

[March 12, 2025, 03:05:30 PM]

[March 12, 2025, 03:05:30 PM]

[January 03, 2025, 03:29:12 PM]

[January 03, 2025, 03:29:12 PM]

[January 03, 2025, 03:29:12 PM]

[January 03, 2025, 03:29:12 PM]

[November 08, 2024, 04:31:03 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Techno News
 Online Retailers Warned To Check Their Server Ahead Of Cyber Monday
Pages: [1]   Go Down
  Print  
Author Topic: Online Retailers Warned To Check Their Server Ahead Of Cyber Monday  (Read 391 times)
RealWire
TWI Hero
**********



Karma: 0
Offline Offline

Posts: 18530


View Profile Email
Online Retailers Warned To Check Their Server Ahead Of Cyber Monday
« Posted: November 15, 2011, 09:45:18 PM »


Cyber Monday, the busiest day of the year for online sales is just over a fortnight away and with time running out, ForLinux, one of the UK’s leading providers of open source hosting and IT support, is reminding internet retailers to perform essential server maintenance or potentially miss out on bumper sales.

This year, Monday 28th November, is the date when the internet industry predicts internet transactions to reach their highest level ever, with sales predicted to top the £1028m* spent online last year.

Steve Nice, technical director at ForLinux (http://www.forlinux.co.uk), has been advising his clients to prepare for Cyber Monday for several months. “It’s crucial that online retailers prepare for the upsurge in traffic that happens on Cyber Monday. Time is running out to make sure servers and applications are ready to withstand the demand. With so little time left to prepare, we’re encouraging online retailers to follow our six last minute tips: check your logs, bandwidth, database, RAM, Apache configuration and reboot.”

1. Logs
Check free disk space for logs - Increased traffic will see an increase in the log size, and this can quickly use up any remaining space, you can start by checking the amount of space your logs are taking up by running;

du -sch /var/log/

and then check how big the partition is by running;

df -h

“You will need to allocate additional disk space to your log partition, which can be changed back after the busy period,” explains Steve. “Assign a partition to the logs to avoid server freeze. If the partition fills, the application will continue to respond but logging will cease.”

If the server has been built using LVM operators can see how much space is free to assign to partitions by running;

vgs

Logs should also be rotated quicker - weekly rather than monthly, for example. Review the logrotate settings by typing;

less /etc/logrotate.conf

Online retailers should also check the logs for any warnings. Some default builds of services such as PHP have all levels of logging enabled by default. A quick way to check is by running the following command;

grep warn /var/log/httpd/*

As well as checking for warnings, ForLinux recommends keeping several copies of the logs and making sure the rotate happens after the stats have been run, otherwise log entries will be lost.

2. Bandwidth
Make sure the site’s current connectivity limit is burstable. The hosting provider will be able to provide this.

Find out how much bandwidth has been used so far in November. If the limit is close then it’s best to talk to the host in advance and buy additional bandwidth as it is often cheaper than the rate charged for excess bandwidth.

3. Database
Tune my.cnf. With increased activity comes increased load which could cause a site to reach pre-set defaults and the applications to refuse new connections. To avoid this run MySQL tuning script (https://launchpad.net/mysql-tuning-primer) against the MySQL database and increase limits where possible and in line with predicted traffic, ensure that the database server has been on-line for at least 48 hours without being restarted to get the test best results.

Also, ensure that there are no corrupt tables and that all tables have up-to-date indexes using the MYSQLCHECK command, and remove any unused databases form the service, which not only frees up disk space, but reduces the resources used for caching.

4. RAM
Using the command 'free' and 'top' will show the amount of RAM available on the server;

free -m

When this memory is used up, SWAP memory will be utilised instead, resulting in significantly reduced performance as SWAP is disc based. If possible, increase physical RAM and do not just add more SWAP as this may only cause more problems.

5. Apache Configuration
Review default settings for things like MaxClients, Timeout and the number of allowed child processes. The apache Timeout is usually set to 120 seconds, by default. It is a good idea to reduce this to 20 seconds or lower depending on the applications that are running on the server.

Also check the memory limits in the php.ini file e.g. if the server has 2GB of RAM and your php.ini allows processes to use a maximum of 128MB then setting the MaxClients directive in apache to 300 may cause problems with the amount of the RAM being used on the server.

6. Reboot the server
If system fails a reboot could result in the server going into FSCK (Disk Check) which can take hours to complete, particularly if the server hasn't been rebooted for a long time, as this is dependent upon the size of the hard drive and bad blocks found. Schedule the reboot over a quiet period as soon as possible, as waiting for the disk check to finish, means sales could be going elsewhere.

“Online retailers whether they be large or small really need to act fast. Hopefully, our six point checklist will help them avoid potentially costly server failure. In an ideal world most of these checks will have already be performed – we’ve certainly been working with our clients to address these areas for several months,” concludes Steve.

ForLinux is the UK’s leading managed open source hosting and Linux solutions provider. For further information about the company and its services visit http://www.forlinux.co.uk

ENDS

Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.131 seconds with 23 queries.