Author Archive

WebContainer thread pool to be equal at 50/50 min/max

Web container thread pool:
1.        In the administrative console click Servers > Application Servers > server_name.
2.        Near the bottom of the page, open Additional Properties, Thread Pools.
3.        Click on WebContainer.
4.        Change the Minimum Size field to whatever the Maximum is set to, probably 50.
5.        Ensure that the “Allow thread allocation ?” checkbox is not checked [or that it is set to false].
6.        Click OK and then save the configuration.

The application server will need to be restarted for the setting to take effect.

Configure PERL Script Mapping for IIS 6.0

  1. Click Start, click Programs, click Administrative Tools, and then click Internet Information Services.
  2. Right-click a Web site that you want to enable PERL for, and then click Properties.
  3. Click the Home Directory tab.
  4. Click Configuration.
  5. Click Add.
  6. In the Executable box, type the following:
    full path to\perl.exe %s %s

    Read the rest of this entry »

Installing and Testing ActivePerl

Download the ActivePerl MSI file from http://www.activestate.com/

Install ActivePerl on your web server. Follow the prompts but when asked, install the program to the C:\Perl directory. (You may need to create this directory.)
Read the rest of this entry »

Restart WebSphere Dmgr

root path maybe different:

/usr/WebSphere/61/profiles/

  • /AppSrv01/bin/stopNode.sh
  • /Dmgr/bin/stopManager.sh
  • /Dmgr/bin/startManager.sh
  • /AppSrv01/bin/startNode.sh

AIX sudo to root

Did not know this.. I’ve always done /usr/local/bin/sudo bash

  • /usr/local/bin/sudo /usr/bin/su – root

linux load over 4 (with 4 processors)

Redhat asked for the below 3 reports to help resolve:

  • top -n 500 -b -d 1 > /tmp/top.txt&      (top)
  • vmstat 1 500 > /tmp/vm.txt&              (vm info)
  • iostat -x 1 500 > /tmp/io.txt&               (io)

Uncompress on Linux

This will remove the xxx.tar.gz and leave you with the xxx.tar

  • gunzip xxx.tar.gz

Then this will remove all the files from the tar, leaving the xxx.tar (make sure you run this in the folder you want the files at)

  • tar -xvvf xxx.tar

How to get Linux CPU statistics

less /proc/cpuinfo

Archives
Web Hosting
Web Hosting made easy D2-Host
Categories