What is the 'whoopsie' process and how can I remove it?

  • On one of my machines I have a process running called "whoopsie". I'm running 12.04 server and never specifically installed anything with this name.

    Google seems to imply that it has something to with error logs but I'm not finding too much information. The fact that I didn't manually install it and the 3 other servers I checked did in fact have no such running process OR executable made me a bit confused.

    Does anyone know what the "whoopsie" process is?

    Does anyone know what packages might have installed it? The server is quite plain, it has a LAMP stack, Samba and print servers and the Nagios NRPE plugin, nothing more installed, just standing there being a nice backup-server.

    Some more info:

    $ whoopsie -h
    Usage:
      whoopsie [OPTION...]
    
    Help Options:
      -h, --help           Show help options
    
    Application Options:
      -f, --foreground     Run in the foreground
    

    and

    USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND  
    whoopsie   913  0.0  0.4  24448  2092 ?        Ssl  May07   0:00 whoopsie
    

    and

    $ sudo cat /etc/passwd | grep whoop
    whoopsie:x:107:118::/nonexistent:/bin/false
    
  • ish

    ish Correct answer

    8 years ago

    What's whoopsie ?

    • It's the "Ubuntu Error Reporting" daemon, and is installed by default in both desktop/server installations.
    • When something crashes, whoopsie does two things:
      1. Collects the crash report generated by Apport and
      2. Can send them to Ubuntu/Canonical (specifically to https://daisy.ubuntu.com in BSON)

    Whoopsie won't send your crash reports without your permission!

    • As Evan explains in his answer below, the actual transmission of crash data occurs only if you permit it via the graphical dialog (see below), or for a CLI server, explicitly run apport-cli.

      screenshot

    How do I disable it on my desktop?

    GNOME Shell (Ubuntu 17.10+)

    screenshot

    Unity (Ubuntu before 17.04)

    • Go to Settings...Privacy...

      screenshot

    • And in the Diagnostics Tab, uncheck the Send Error Reports to Canonical option:

      screenshot

    How do I disable it on a server or via the command-line?

    • Just change the report_crashes parameter to false in the /etc/default/whoopsie file.
    • Then bid farewell to whoopsie with sudo service whoopsie stop.

    Do you have any clue what packages install it?

    `apt-file search /woopsie` results the `woopsie` package. As shown using `apt-cache rdepends whoopsie` and `apt-cache show ubuntu-desktop`, `ubuntu-desktop` recommends it.

    I believe it's installed by default as part of the desktop/server installs; I haven't seen it with the `expert-cli` server or alternate installs though.

    Hmm, so it shouldn't be on there if this is a clean `server` install. I'll have to check my sources, and what the history of this thing is. I'll just uninstall it probably, unless there is something against that?

    No, just apt-get rid of it.

    I just did a clean install of 12.04 Server and it was installed automatically.

    But did you do it in "expert-cli" mode?

    I just got a root server with a pretty-much vanilla server install, probably not expert mode but without any stuff installed (not even ntp), and got whoopsie. Did in fact get apt-get rid of it, thanks for the wonderful term :)

    There is no /etc/default/whoopsie in ubuntu

    @ish, when `whoopsie` is disabled, will I still get the error's reported (in a msg box to see), just having the „calling home“ disabled? (that is my aim)

  • Whoopsie is part of the Ubuntu error tracker. It takes the crash reports that apport creates and presents whenever an application fails and sends them to a Canonical server for further processing. The data collected from these reports help us prioritize and track the most pressing issues:

    http://errors.ubuntu.com

    The small whoopsie daemon process is run by default on both Ubuntu desktop and server installations. It will only send reports out if you explicitly approve this in the dialog that appears on desktop installs, or in the case of the server, manually run apport-cli.

    You can disable it by going into System Settings -> Privacy -> Diagnostics and unchecking the box labelled "Send error reports to Canonical."

    To disable it on Ubuntu Server, edit the /etc/default/whoopsie file and change report_crashes= to false, then run sudo stop whoopsie.

    Note that if you do this, we will not be made aware of the problems affecting your computer and may be unable to fix them. I talk about how we use your data to make Ubuntu better in this video:

    I find it strange that it is default part of ubuntu-server? If anything, my headless server doesn't have a "system settings->privacy" . THe frivolous name made me wonder what it was, as I didn't expect it in the server version, but it seems to come default, so I'll live with having to stop it :)

    this "small whoopsie daemon" takes up over 50% of my RAM and 90% of a single CPU core

    So whose _insane_ idea was it to install a daemon with such a frivolous name (and to make it report by default! - I had reporting turned off on 13.10, and it's back with 14.04!). I know there's a long tradition of frivolous program names in Unix, but at first glance this looks like malware.

    `/etc/default/whoopsie` does not exist in 16.04. The only way to stop whoopsie is to uninstall it.

    @Auspex Same kind of people that decided "Dr. Watson" was a great name for MS Windows' error reporting.

    @Tsaukpaetra Well, no. "Dr. Watson" gives you at least a hint of what it's doing (and iirc it does it in the foreground). It's this silly name operating in the background that makes people think it's malware.

    @Auspex on the contrary, Dr Watson sounds like Spyware investigating you for murder. Silly name referencing a fictional character that runs every time something bad happens that makes people think it's malware. -.-

  • $ apt --simulate purge whoopsie
    
    The following packages will be REMOVED
    
    whoopsie*
    
    $ apt purge whoopsie
    

    I've had no problems as I am in the process of building my own Ubuntu Desktop but so far that thing keeps crashing my system, but now I have got rid of it :)

    It being a crash reporting tool, I suspect it simply shows up after other things crash, it's unlikely that such a simple tool could be the actual cause of the crash.

    It's like saying "Mozilla Crash Reporter crashed firefox". Whoopsie is a crash reporting tool, so probably when some other thing crashed, whoopsie offered to send a report.

    `apt-get -s` runs a simulation. When you are ready to actually remove a package, replace `apt-get -s` with `sudo apt-get`. If you just run `apt-get -s`, no actual uninstallation will occur.

  • It's Canonical's error reporting daemon.

    The off-putting thing about is that you are not even asked if you want it installed, which isn't so nice if your on a budget server hardware wise

    @Glynn BLower

    apt-get -s purge

    doesn't seem to actually deinstall the daemon, just shows you that it is there if you want to purge it

    apt-get purge

    did the trick on my 13.04 server install

    how nice, a down vote without an explanation. Would you mind to elaborate as to why you down voted? Was it because I don't like a process running on my servers that automatically sends data about the system without my approval? Was it because I criticised Canonical for that? Was it because apt-get purge DOES deinstall it and the package and I made an error here? If you know more about the matter please share your insights! Especially as the post I was referring to was changed to reflect my own findings.

    I can only guess, but I think your answer was voted down because it was not a complete answer (your commands are incomplete, at least). Another reason could be that you were commenting on another answer as an answer, rather than writing a comment on the answer as would have been appropriate.

  • Whoopsie has a list of dependencies, and they are redundant without Whoopsie Synaptic Package Manager does the trick

    Search > Whoopsie

    Mark for Complete Removal all the lib_* whoopsie related packages.

    Apply

    If you went the sudo apt-get -s purge whoopsie route, don't forget to sudo apt autoremove after that to get all the packages flushed.

    Suggest a sudo apt-get update after everything and then service --status-all to verify that 'whoopsie' isn't on your system.

License under CC-BY-SA with attribution


Content dated before 6/26/2020 9:53 AM