Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
8656 Lượt xem

I am using

Ubuntu 12.04 LTS server

OpenERP 7

and the service is hosted in cloud environment(Rackspace).

 

When a user is trying to loggin to the system the server CPU usage becomes 100%(postgres process), what is the reason for this issue ?.

 

Ảnh đại diện
Huỷ bỏ

Hi Shanil.Found solution,let me know if you found solution.Im also facing these issues.

Câu trả lời hay nhất

Hello Shanil,

I faced same problem like you and i overcome using following points. i hope this thing help to you.

Your Server Memory is full you can use following steps.

*First ->* check system disk space using *$df -h* command after it'll show %memory usage.

*Second ->* Then find *.xsession-errors* files using /locate/ command.

*$locate .xsession-errors* (if you have two linux user then it will dispaly 4 file each linux user have 2 files)

 

*Third ->* Check each size using following command

*$du -h /home/odoo/.xsession-errors* and *.xsession-errors.old files*

If file is in MB or in GB then flush that file don't remove it, using following command

*$echo "" > .xsession-error*

*And Last Step*

if you have any backup files, extra files ,temparory files like pdf,csv file odt etc file in /tmp folder bofore remove keep backup of it and then remove.

in sort /*remove un-usefull files from server.*/

After check system space using *$df -h* command. If server space is not descrese then you need extra space.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

hello shanil and my dear frnd harsh

i have solution for this you have to flush not deletthe .xsesson-errors file using the below given command

step 1: find the .xsesson-error file

step 2: flush that file command is $echo "" > .xsession-errors

step 3 : finaly njoy!!!!

 

 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thank You very much for the fast response.

I could not locate the ".Xsession-errors" file in my OS.

I am using Ubuntu 12,04 LTS(Server),could you please help me to find the ".Xsession" files.

Ảnh đại diện
Huỷ bỏ

command for find .xsession-errors is "locate .xsession-errors" in your terminal window.

Tác giả

I have already tried this command,but the system shows an error message "No such file or directory". I am using Ubuntu server without GUI.

can you please show me that command?

Tác giả

root@ERP1:~# locate .xsession-errors root@ERP1:~#

Tác giả

root@ERP1:~# locate .xsession-errors root@ERP1:~# I have tried the above command.