Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SolidQueue::ProcessExitError: #315

Open
rctneil opened this issue Sep 1, 2024 · 3 comments
Open

SolidQueue::ProcessExitError: #315

rctneil opened this issue Sep 1, 2024 · 3 comments

Comments

@rctneil
Copy link

rctneil commented Sep 1, 2024

Hi,

I needed to reprocess a lot of PhotoAlbum instances so I wrote a quick rake task that found ones that needed fixing and set a job running for them. Task below:

    desc "Check PhotoAlbums for photos with nil positions and enqueue job"
    task check_album_photo_positions: :environment do
      PhotoAlbum.find_each do |album|
        if album.photos.where(position: nil).exists?
          UpdatePhotosForAlbumJob.perform_later(album)
          puts "Updating PhotoAlbum ID: #{album.id}"
        end
    end

I expected them all to get added to the queue and run sequentially, 5 of them run, the rest all have gone to Failed with an error similar to:
[SolidQueue::ProcessExitError: Process pid=1074445 exited with status 1](https://<domain>.co.uk/jobs/applications/<app>/jobs/d99e889a-2843-40da-a5a7-130801b49d01?server_id=solid_queue#error)

Any ideas why?

@rosa
Copy link
Member

rosa commented Sep 1, 2024

That means the worker with pid=1074445 was killed or exited unceremoniously without finishing the job that you see as failed. You'll need to check logs for that worker to see what happened. It might have been something external killing it (like if it got killed because of using too much memory, for example).

@rctneil
Copy link
Author

rctneil commented Sep 1, 2024

Ok, How do I check logs? I have no configuration changes from default and am running with the Puma plugin.

@rosa
Copy link
Member

rosa commented Sep 2, 2024

That will depend on your setup and how and where you're running the app, it's not something that Solid Queue determines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants