For my personal note :p
drop_caches
Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.
To free pagecache:
echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes:
echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
echo [...]
Recently I want to increase my maximum file size, I develop my own Codeigniter application, I am using file upload class. Far as I know I just need increase “file_uploads” to desired value I want.
I increase the “file_uploads” to 150MB. When I try upload 18MB file use my application it’s just show me a [...]
inadvertently I added / after index.php on one of my web project and strange it produce some error like this
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 201
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 207
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 210
After search I found the solution, it just need to change “uri_protocol’” to PATH_INFO on config.php
reference : http://codeigniter.com/forums/viewthread/127502/
Recently I am disappointed with my IBM x3250 M3 run CentOS linux, the performance is very bad. After investigate I found my SATA drive ( I use two SATA hard drive , 250GB and 500GB) detected by CentOS as IDE drive, as hda and hdb. When I test read and write speed used “hdparam”, the [...]
Recently I have successfully setup my proxy (CentOS 5.5) and mikrotik 2.9.X with cache HIT no limits. When my RB 1100 came, I move my mikrotik 2.9.x to this new RB 1100.
These day I just realized that my cache HIT is limited so my Mikrotik count the cache HIT. On Mikrotik 2.9 [...]
Recently I install asterisk using yum (using asterisk repository provided), at the noon a something happen, I try to use phpMyAdmin then found some error session couldn’t start. Then my other application show same weird thing, it cannot upload file to web directory, it’s never happen before.
Finally I know, when on asterisk installation process, it [...]
Finally I have finish install openmeetings on CentOS server with some notice :
Use ulimit to make Red5 server start normaly , event it use high performance
During this installation I found interesting command for linux , sync; echo 3 > /proc/sys/vm/drop_caches , it will clear RAM cache, if we need to clear linux memcache
After access [...]
These day, I am trying install Red5 flash server on CentOS 5.x, it’s part of Openmeetings web conference application. When I am try to start Red5 server using red5.sh , the service won’t work, here the log :
Running on Linux
Starting Red5
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not [...]
When you try to install svn on 64 centos linux you will get some error, perl(URI) is missing. The solution is very simple, download the perl-URI rpm package from address below:
http://mirror.centos.org/centos/5/os/i386/CentOS/perl-URI-1.35-3.noarch.rpm
Install it manually using rpm -ivh perl-URI-1.35-3.noarch.rpm
After it finish, then we can install svn by using this command
yum install subversion
Yup , that’s it
Every time I send email, the email always discarded by hosting mailer. Here the error :
Mail sent by user nobody being discarded due to sender restrictions in WHM->Tweak Settings
After couple time trying, I found the error was generated when I use ‘mail’ PHP function. When we use mail() function to send email, we [...]
Recent Comments
- envio in Epson T13 General Error
- bratz in Epson T13 General Error
- Wade in Silly first slide on bxSlider
- Jesus in Epson T13 General Error
- pranay in readfile() disabled, alternative so…
- envio in Mail sent by user nobody being disc…
- 1mr3yn in Mail sent by user nobody being disc…
- pardss in Epson T13 General Error
- envio in Codeigniter RAR file Upload
- P.Ashokkumar in Codeigniter RAR file Upload