Skip to content

Lime CRM Knowledge Base

CPU spikes because task handler service reports it is already started

Problem Description

CPU spikes because the task handler service continuously try to start and logs the following error messages:

ERROR: Pidfile (C:\ProgramData\Lundalogik\LIME Pro Server\Task Handler\task-handler.pid) already exists.
Seems we're already running? (pid: 2064)
ERROR: Pidfile (C:\ProgramData\Lundalogik\LIME Pro Server\Task Handler\task-handler.pid) already exists.
Seems we're already running? (pid: 2064)
ERROR: Pidfile (C:\ProgramData\Lundalogik\LIME Pro Server\Task Handler\task-handler.pid) already exists.
Seems we're already running? (pid: 2064)

Solution

We recommended a upgrade to solve this issue, but there also is a manual patch available.

Upgrade

Upgrade to latest Lime CRM Server.

Manual Patch

  1. Open Registry Editor on the Lime server.

    1. Go to key:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lime-task-handler\Parameters
      

    Change AppParameters from:

    worker -A lime_task.worker -n taskhandler1@%h -l warning --pidfile "C:\ProgramData\Lundalogik\LIME Pro Server\Task Handler\task-handler.pid" -P gevent --concurrency 2
    

    To:

    worker -A lime_task.worker -n taskhandler1@%h -l warning --pidfile= -P gevent --concurrency 2
    

    2. Go to key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lime-task-scheduler\Parameters
    

    Change AppParameters from (remember that the install path might differ!):

    beat -A lime_task.worker --pidfile "C:\ProgramData\Lundalogik\LIME Pro Server\Task Handler\task-scheduler.pid" -s "C:\ProgramData\Lundalogik\LIME Pro Server\Task Handler\celerybeat-schedule" -l warning
    

    To:

    beat -A lime_task.worker --pidfile= -s "C:\ProgramData\Lundalogik\LIME Pro Server\Task Handler\celerybeat-schedule" -l warning
    
    2. Restart Lime Task Service 3. Restart Lime Task Scheduler

You must upgrade Lime CRM Desktop Client before you can connect to this server

Problem Description

User get a prompt saying: “You must upgrade Lime CRM Desktop Client before you can connect to this server.” when trying to login with Lime CRM Desktop client.

Solution

Download and install latest Lime CRM Desktop release or talk to your Lime CRM administrator, if you aren't allowed to install updates on your computer.

Details

The Lime CRM Server the user is trying to connect to doesn't approve the Lime CRM Desktop version being used. Usually this is because of a security update on the Lime CRM Server. To avoid this problem we recommend to have automatic updates turned on in Lime CRM Desktop and make sure to click update when there is a new version available.

UpdateLauncher error when trying to use Automatic Updates in Lime CRM Desktop

Problem Description

When a user is trying to install a new version from the Automatic Update banner in Lime CRM Desktop they get a prompt with this error:

“*File requested to be installed has either been tampered with or is missing its digital signatures.

This application will now exit and no action will be performed for security reasons..*”

Solution

Download and install latest Lime CRM Desktop release manually or talk to your Lime CRM administrator, if you aren't allowed to install updates on your computer.

Details

This is a bug in automatic updates which concerns Lime CRM Desktop versions 10. We haven't seen the issue in Lime CRM Desktop version 11 or later.

Version 10.18.221

Released April 8, 2020.

New features

  • The desktop client now works with 64-bit Office installations!

It is not possible to show inbox/calendar/contacts as panes if using 64-bit Office. Everything else should work as with 32-bit Office.

Bug fixes

  • For 64-bit Outlook: Document preview in Outlook now works when Lime CRM is running.
  • For 64-bit Outlook: Preview of meetings in calendar now works when Lime CRM is running.

Version 10.18.558

Released October 8, 2020.

Improvements

  • Added linker flag /LARGEADDRESSAWARE to enable 4Gb addresses in Windows x64. The client now has full access to 4Gb address space when running in 64-bit Windows.
  • Enhanced error handling
  • Refactored event handling for Outlook-integration
  • Added detailed logging for VBA initialization
  • Filtering while typing is now triggered via timer to reduce risk for deadlock
  • Added support for starting with VBA-macros disabled via /SafeMode commandline switch

Bug fixes

  • Fixed problems with HTML-formatting for email
  • Fixed crash related to ActiveUser.Record in databases where current user is not associated with any records
  • Fixed problem with outgoing mail being deleted before sent
  • Fixed problem where Localize-module was not properly detected for patching against known problem
  • Excluded WorkingFolder from published settings
  • Fixed major memory leak for filters in explorer views.
  • Fixed crash for accessing XML-property of collections.
  • Fixed crash in reports for “Microsoft Print to PDF” (or any other printer without paper bins).
  • Added binary back-off algorithm when retrying after server connection errors.
  • Added retry for IO-errors for server connection.
  • Added retry for calls via FileAPI to workaround problems with lost connection while loading VBA-file.
  • Added registry settings to guard shared VBA installation against uninstall.
  • Fixed problems with certificate revocation status.

Lime CRM Desktop 11.0

Product Lime CRM Desktop Version 11.0 Date published 2021-02-12 Plattform Windows Availability Manual installation only. Download here.

Important Changes

🕸️ WebView2

We have replaced Internet Explorer! As default, Lime CRM Desktop now embed web content using Microsoft Edge WebView2.

  • Improved performance and stability
  • Easier development and troubleshooting

🛠️ VBA Compiler

Compiling VBA will now reveal more errors.

  • Improved stability
  • Easier development and troubleshooting

Features

🔐 Login with Azure AD

Support for Azure AD while login. Previously released for the web client only and thanks to WebView2 now also possible in the desktop client.

🐞 Crash Dumps to Find Bugs

We can now collect crash dumps. Alla data is saved on our server, we don't save any sensitive data and logs will only be saved for a limited time. Everything to make sure it's GDPR compliant.

  • Easier to find bugs
  • Easier troubleshooting

🔧 Sending crash dumps is on by default. It's possible to turn off in windows registry.

HKEY_CURRENT_USER\Software\Lundalogik\Lime\UsageFeedback 
Disable = DWORD(0|1)
HKEY_LOCAL_MACHINE\Software\Lundalogik\Lime\UsageFeedback
Disable = DWORD(0|1)

Improvements

📋 Detailed Error Messages

Error messages will provide more details. This will make it easier to fix problems.

  • Refined error dialog
  • Preserve error details
  • Additional details from previous errors

🔃 Loading of Data

In most cases data will now load asynchronously. This will prevent the desktop client from freezing when large amounts of data is loaded.

▶️ Installation and Automatic Updates

  • Fixed known issues with VBA
  • Added missing dependencies

⏰ Date and Time Formats

The client APIs now has general support for date and time formatted according to ISO8601.

♾️ Support for long paths

Previous versions had an internal limit of total 256 characters. This limitations has now been removed for most usage scenarios.

📂 Open Linked Files

General support for opening linked files have been improved to workaround known issues:

  • Images (GIF, PNG, JPEG, etc.) now opens correctly in Windows
  • PDFs are tracked for multi-tab viewers
  • Temporary files are valid minimum 10 seconds or until associated program is closed
  • Files opened via separate launcher are now tracked via Window-title instead of associated process

📉 Scalability and Performance

  • Reduced memory usage
  • Multithreaded workload
  • Doubled available memory

⚙️ Backend Integration

  • Manage session and cookies between different HTTP-stacks
  • Preserve error details from business logic, server and database
  • Binary back-off when retrying operations
  • Better handling of intermittent backend errors
  • Better handling of unexpected results

📥 Transfer Selection

Now possible to transfer selection to tabs that are not visible.

Bugfixes

🌞 Stability

Over 100 code paths that previously caused the application to crash are now fixed.

📄 Convert Multiple Documents to PDF

Fixed bug where it was not possible to convert multiple documents to PDF.

✂️ Copy Special

Fixed bug where copy special included more records than the selected ones.