Free memory on Blackberry 8320

Ever lose emails on your Blackberry?

The first place I would check is free memory or File Free size of your Blackberry. It happened to me after I updated OS my 8320. It showed less than 3MB after a battery pull.

After some google searches, here is an article of how to maximize free memory on your Blackberry. I removed unwanted .cod, extra theme, voice activated dialing, 83xx media and etc.

To show Blackberry Help Me screen, go to advanced options, then applictions, and press Alt, Cap and H key all together. This is the Help Me screen after wipe and flash the OS:

After enterprise activation, and load the applications I use daily: Google Gmail, Goolge GTalk, Viigo, Mobipocket Reader. And load 2 company testing product. The File Free shows:

I fee much better seeing it’s over 20MB now :) This amount of free memory will make 8320 work better with the upcoming highly expected 4.5 OS.

Comments

Troubleshooting High Memory Usage

First of all, this post is nowhere near a complete reference for linux memory usage and troubleshooting high memory usage. It only has the steps I’d taken to troubleshoot my own server when it gets overloaded by increased traffic. It happens once a while, and usually I can fix it by tuning some Apache, MySQL and other config setting.

1. using top command

After executing top command, press “Shift” + “>” and look at “RES” column. The RES column is the most reliable indicator of the real memory usage of that process.

top result

2. ps axu –sort:rss

show memory usage sorted by lowest memory usages first.

A general Apache which serves static html page should consume less than 10MB per process.
For heavily serving PHP pages, in my case it uses 18MB-39MB each httpd process.

mysqld has a memory usage of 120MB in my case. I can tell that the query cache settings worked as planned.

Comments

Check Linux Versions - common commands part1

  • Check Linux Kernel version:

uname -a

  • Check Linux version

cat /proc/version

  • Check Redhat based Linux version

cat /etc/redhat-release

  • Check PHP version on Linux server

php -v

  • Check mysql version on linux server

mysql -V

  • Check apache version on linux server

httpd -v

Comments

Google updated on January 13-14

Well, another update!

I’ve got BL updates on all my websites as well as PR. Traffic of some websites shows a jump today. It’s still too early to see how much the traffic has improved. Let’s wait and see.

Comments

Install VMware Tools for Fedora 8 in VMware 6.0.2

  1. Click VM-> install VMware tools
  2. In Fedora 8 terminal window, copy WMwareTools-6.0.2-59284.tar.gz into your home folder
  3. unzip it. gzip -d WMwareTools-6.0.2-59284.tar.gz | tar -xvf WMwareTools-6.0.2-59284.tar
  4. run vmware-install.pl

Comments

Google back links updated

All my websites have their back links updated (increased) in Google Webmaster Tools today. I also expect that PR will be updated soon. However the link command on Google shows no changes yet.

Comments

Facebook Valued at $15 Billion — Microsoft Takes $240 Million Equity Stake

Facebook and Microsoft Corp. today announced that Microsoft will take a $240 million equity stake in Facebook’s next round of financing at a $15 billion valuation, and the companies will expand their existing advertising partnership. Under the expanded strategic alliance, Microsoft will be the exclusive third-party advertising platform partner for Facebook, and will begin to sell advertising for Facebook internationally in addition to the United States. …

read more | digg story

Comments (1)

Install MySQL Community Server 5.0.45 Without Installer on Windows Vista

  1. Download the zip file from here.
  2. Unzip it to your d: drive. Here’s what you should get after unzipping: d:\mysql-noinstall-5.0.45-win32. Rename this folder to mysql5045. (d:\mysql5045)
  3. Open folder d:\mysql5045. Copy my-small.ini and rename the copied file to my.ini. Open my.ini using notepad. Under line “[mysqld]“, enter the following lines:basedir=D:/mysql5045
    datadir=D:/mysql5045/data
  4. Run your command prompt as administrator. And enter folder d:\mysql5045\bin
  5. Type mysqld-nt.exe –install mysql5045 –defaults-file=d:\mysql5045\my.ini
  6. Type net start mysql5045 in command line. If you see the following, mysql 5045 is installed and running!The mysql5045 service is starting.
    The mysql5045 service was started successfully.
  7. IMPORTANT! type mysqladmin -u root password “your-new-password”, to set a password for your root account. The default install will leave no password required for your root account.

Comments (2)

Connect Windows Mobile 5.0 Smartphone Emulator to the Internet on Vista

The easiest way to connect Windows Mobile 5.0 Smartphone emulator to the Internet in Visual Studio 2005 on Windows Vista is to cradle the emulator, however the problem is… (with a step by step guide and images)

Here comes again. There was one of my old projects on Windows Mobile 5.0 Smartphone needed to be changed a little and re-released. I just re-installed my laptop couple weeks ago. Which means I have to install all the mobile SDKs and setup my development environment once again.

Finding and installing those SDKs is easy. The problem only comes when you trying to get internet working on your emulator. The method I was using before is to get NE2000 card working on the emulator. In order to do that, you will need a virtual network drive (or something) installed first on Windows Vista. And I found that my VPN always having troubles after I install it. That’s why I won’t recommend this method to anyone trying to set it up the first time.

So I figure as long as I can cradle Windows Smartphone 5.0 emulator, I should be able to access the Internet by using pass-through.

To cradle Windows Smartphone 5.0 emulator on Windows Vista. You will need:

  • Install Windows Mobile Device Center (it really is Vista version of ActiveSync). Select DMA for Allow connections to one of the following
  • Open Device Emulator Manager from Tools menu of Visual Studio 2005
  • Open your emulator by selecting Windows mobile 5.0 Smartphone Emulator, right click and select Connect
  • With the emulator selected still in Device Emulator Manager, right click and select Cradle

Image: Windows Mobile Device Center Settings

Image: Device Emulator Manager in Visual Studio 2005

If you see nothing happened to your Windows Mobile Device Center, it doesn’t mean you missed some steps from the above. It happened only because the Device Emulator 1.0 is the one comes with Visual Studio 2005 has this cradle problem on Windows Vista.

The solution is to download Microsoft Device Emulator 2.0 and by installing 2.0, it will replace the old one. Read this note from its download page: “DeviceEmulator 2.0 has taken a few design changes to work with the Windows Vista operating system that enables the emulator to be cradled using the Windows Mobile Device Center”.

This is the result after upgrading to Device Emulator 2.0 and cradling the emulator: Smartphone Emulator 5 Cradled

I would select “Connect without setting up your device” . The emulator should have Internet access now.

Windows smartphone emulator with Internet access

Links:

Microsoft Device Emulator 2.0

Windows Mobile Device Center 6.1

Windows Mobile 5.0 SDK for Smartphone

Comments (5)

SQL Injection vulnerability on Plesk 8.2.0

I just read this one from SWsoft forum.

There is a SQL injection vulnerable security hole exists on Plesk 8.x.x. Yes, it’s even on 8.2.0, which is the latest stable version.

It’s /usr/local/psa/admin/plib/class.Session.php.

Here’s the fix.

Comments