We have moved to a new Sailfish OS Forum. Please start new discussions there.
7

[problem] phone laggy and apps crashing [answered]

asked 2016-03-15 15:27:30 +0300

PatsJolla gravatar image

updated 2016-03-15 15:33:18 +0300

Hi, in the last weeks I seems to get more and more problems with my phone. I hope I can explain in in a good way: Almost EVERY app I open crashes within the first 5 minutes. I currently have to restart the phone up to 3 times before the cam app starts. I don't know what happened that this behavior suddenly starts since I did nothing more then in the last 2 years.

I use whatsup which is usually always active and often the mail-app. I figured out that my mail-account might have to many mails and MBs so I deleted the account from the settings cleaned it on the server and re enabled it with imap in the phone and the app behaves now better, lets say like I'm used to.

But now I see that other apps like the cam or whatsup are still crashing. When I start the app I see the loading screen and then it disappears. Then nothing..empty screen and several minutes later the app is there and when I go inside I get the message app is hanging. Whatsup is regularly greyed out so when you open it from the active apps list you realize its getting restarted. Usually when this happens you have lost the server connection and messages appear only after the GUI is active again. So I guess the memory manager kills it completely.

Sailimgur is another example in the past crashed when you watched big gifs but in the latest version was extremely stable now though (no update made) I can barely use it it gets killed WHILE Im actively using it. and the reloads from the main page instead of the post where I was last - which looks to me like an app crash or reset.

But what causes this behavior?

I read here that others have problems with the phone if the memory was too full but I'm roughly at 50% usage. Can it be from a patch? but so far I had no problems with them. I deactivated all patched but I still don't see any improvement.

What else can I try? expect from resetting of course

edit: What I also discovered: the battery consumption is extreme in the last days. While I'm typing this I can literally see the battery dropping from 79% to 62%. Almost every minute I loose 1%. When I check with Crest or Lighthouse the active processes I see that I very often have booster [silica-qt5] running with 20 or more percent for many minutes.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Alex
close date 2016-03-18 11:18:26.829794

Comments

1

Do you have developer mode and terminal installed?

Alex ( 2016-03-15 15:43:42 +0300 )edit
1

It looks like what's described in this post. What does btrfs fi show tells you?

Sthocs ( 2016-03-15 15:44:15 +0300 )edit
1

what about ram usage? my phone usually starts lagging when about 90% of ram is in use

till ( 2016-03-15 16:05:37 +0300 )edit
  • @Alex yes I have both active.
  • @Sthocs When I type this in terminal I get the following error: could not open /dev/mmcblk0p28 Btrfs v3.16 What does this mean? am I missing smth?
  • @till my ram usage is around 47 till 50% but I actively only have whatsup opened and just restarted the phone before I made this thread.
PatsJolla ( 2016-03-15 16:36:16 +0300 )edit
2

You have to execute the command as root: type 'devel-su' first and enter your password

Alex ( 2016-03-15 16:42:47 +0300 )edit

3 Answers

Sort by » oldest newest most voted
2

answered 2016-03-16 11:25:49 +0300

PatsJolla gravatar image

updated 2016-03-16 11:34:23 +0300

Solution:

As stated in the comments the btrfs balancer can solve the issues. I summarize the steps in this answer to make it easier for others to do the steps:

  1. Free up some space, move pictures, videos, music & other things from phone memory to the sd card. If you find old apps that you don't need anymore delete them and their (remaining) folders too.
  2. Start terminal, for this you need to enable developer mode in the settings AND enable access via SSH and set a password for the access, which will be your root password.
  3. Enter root mode by typing 'devel-su' and your password from step 2
  4. Type btrfs fi showand hit enter
  5. If your result shows smth like mine: ERROR: unable to get Inappropriate ioctl for device Lebel: 'sailfish' uuid: ..... Total devices 1 FS bytes used 6.00GiB devid 1 size 13.75 used 13.37GiB path /dev/mmcblk0p28 Btrfs v3.16 you have a problem. If the value for devid (devid 1 size 13.75 used 13.37GiB) is higher than 12 GiB you need to do the following steps
  6. Connect your Jolla to a charger and execute the following command as root (execute devel-su before): btrfs-balancer balance. For me it took around 5-10 mins and it was through
  7. Optional: repeat the previous step if the progress showed steps of for example 10%. I did it a second time and then it jumped from 0% directly to 100% very fast, so no more optimization is needed.
  8. Check the progress/results again with root and the command btrfs fi show
  9. If the used space is below the 12GiB you should be fine again. In my case I ended up with 10GiB used space.
  10. Restart the phone - > now everything should work again

More details about this topic can be found here: Explanation

Many thanks to @Alex and @Sthocs for the fast help!!

edit flag offensive delete publish link more

Comments

thank you for all

dingo ( 2016-03-17 14:42:36 +0300 )edit

Hi, I come back! the solution works.for.a short.time but the problem still here and the phone still lagging and closing aps!

dingo ( 2016-03-19 01:49:00 +0300 )edit

My guess: free some space. A full disk will be a full disk, even after balancing.

Moo-Crumpus ( 2016-04-08 12:46:15 +0300 )edit

Hi, I have more then 63%of free space!!That what I didn't understand any thing!! with all this space I dont know but the system file seems taking all the space. After balancing..it's ok for a while but after that no memory and all aps crashs!

dingo ( 2016-04-08 13:22:40 +0300 )edit
0

answered 2016-03-15 16:15:22 +0300

Giacomo Di Giacomo gravatar image

You have little memory left. If you use media, a bug in gstreamer causes memory leaks and less memory being available with time until you reboot. The best solution is to wait until a new phone with more RAM becomes available. In the meanwhile, if you are using Android apps, try launching Clean Master and optimize battery duration, which will close lots of hanging Android apps freeing up RAM.

edit flag offensive delete publish link more

Comments

1

Usually I turn Android support off. I only use android seldomly for things like Viber or a game but not on a daily basis

PatsJolla ( 2016-03-15 16:37:07 +0300 )edit
0

answered 2016-03-16 06:21:48 +0300

dingo gravatar image

Hi, I have also the same problem...and at the same time! I have no solution for the moment!

edit flag offensive delete publish link more

Comments

1

You will find the solution in the comments above and the explanation in the comment by Sthocs.

Alex ( 2016-03-16 10:27:54 +0300 )edit

Hi I did the solution but it works.for a.short time. I take off a lot of files to make space because at the first check the it was full of full. after the first balancing the space went from 13,--to 12,31 ..the phone still lagging...I did a second balancing and it go down again 10,31 but after some minutes the space rich the 12,31 again!!!! without doing any think special !

dingo ( 2016-03-19 09:42:37 +0300 )edit

@dingo I think you are using to much of your data space - because of BTRFS you should not use more than about 8 GB of your emmc so that BTRFS has some space to 'breath'.

It's annoying but it's better than experiencing the btrfs issues. :D

Alex ( 2016-03-19 11:02:23 +0300 )edit

@dingo: try to copy as much files as you can to sd card. Things like music, photos, downloads and clean up the mail attachements that have been downloaded. Then do another btrfs balancing you need to have less than 10GiB of your own data, then it should work like in my case

PatsJolla ( 2016-04-09 01:32:43 +0300 )edit

it didn't work. now I ve reset the phone ...it's better:)

dingo ( 2016-04-09 11:32:24 +0300 )edit

Question tools

Follow
3 followers

Stats

Asked: 2016-03-15 15:27:30 +0300

Seen: 1,071 times

Last updated: Mar 16 '16