Archive for October, 2007

Allowed memory size of X bytes exhausted

Monday, October 29th, 2007

Sample error,

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes)

Workaround

Increase PHP’s memory limit, either by adding:
memory_limit = 20M to your php.ini file (recommended, if you have access)
ini_set(’memory_limit’, ‘20M’); in your sites settings php file
php_value memory_limit 20M in your .htaccess file

The memory can adjust more than 20MB according to needs.

Synaptic GPG Error

Saturday, October 20th, 2007

Any error similar like

“W: GPG error: http://my.archive.ubuntu.com feisty-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key

Try to edit /etc/apt/sources.list

Change all

http://my.archive.ubuntu.com

to

http://archive.ubuntu.com

http://my.archive.ubuntu.com is the repositories server for Malaysia.

Conky

Tuesday, October 2nd, 2007

It have been a month I didn’t post. I wish to share a light weight system monitoring tools which deploy at Ubuntu. Note : It does not use to remotely monitor. It just a tools that let you enter some build in variable to monitor your system. Such as hdd space, system loading, monitor logs, and etc. Browse to Conky main page for more information need.

Simple installation step by fire to your terminal with following command,

$ sudo apt-get install conky

Import the conky setting file that came along with the installation,

$ zcat /usr/share/doc/conky/examples/conkyrc.sample.gz > ~/.conkyrc

Try to edit below variable from conky setting file in order to let it run as transparent.

own_window_type override
own_window_transparent yes
double_buffer yes
own_window yes