Skip to content
This repository was archived by the owner on Jun 17, 2022. It is now read-only.
This repository was archived by the owner on Jun 17, 2022. It is now read-only.

Connector deletes every printer and complains about Too many files open #349

@narvikmunicipality

Description

@narvikmunicipality

Hi

We're running a Debian Jessie installation with the cloud-print-connector, built using "GOPATH=/tmp/gcpbuild /usr/bin/go get github.com/google/cloud-print-connector/..." (Built March 7) and have been experiencing issues with it where it deletes every printer and then synchronizes them again, which in turn causes the sharing settings that was set on each printer to disappear.

From what we're seeing in the log it seems the connector gets caught in a loop fetching the same jobs over and over again, and when the limit for open files is exhausted it prints error messages like this:
E [16/Mar/2017:08:10:32 +0100] [Job REMOVED-GUID-JOB-13] Failed to create a temporary file: open /tmp/cloud-print-connector-395094484: too many open files

And as far I can tell on the issue with why the printers get deleted is because when the connector tries to do a synchronization, it too fails with "Too many files"-error when trying to contact the CUPS server, like this:
E [16/Mar/2017:08:11:36 +0100] [Printer Printer38] Failed to call cupsGetPPD3(): 1282 Too many open files
I [16/Mar/2017:08:11:37 +0100] [Printer Printer31 REMOVED-GUID-31] Deleted from the cloud

Here's the full log file with the messages the connector printed when deleting the printers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions