# Job exception: 451 Error while writing spool file -- do I need to worry?

**URL:** <https://meta.discourse.org/t/job-exception-451-error-while-writing-spool-file-do-i-need-to-worry/51831>\
**Category:** Product Support\
**Created:** [Outubro 21, 2016, 5:32am UTC](https://meta.discourse.org/t/job-exception-451-error-while-writing-spool-file-do-i-need-to-worry/51831 "2016-10-21T05:32:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![dirk.jahnke](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@dirk.jahnke](https://meta.discourse.org/u/dirk.jahnke)\
**Post date:** [Outubro 21, 2016, 5:32am UTC](https://meta.discourse.org/t/job-exception-451-error-while-writing-spool-file-do-i-need-to-worry/51831/1 "2016-10-21T05:32:04Z")

</div>

In the admin interface I got pointed to mail processing errors, which are in fact two entries of a “Job exception: 451 Error while writing spool file”.

Do you have some more infos about this for me? With ~4000 mails sent yesterday, these 2 errors seem to be not that serious. Nevertheless, I ask myself for possible reasons. Out of disk space? At least locally that is unlikely. What else?

Thanks,  
Dirk

This is the log entry:

Message

`Job exception: 451 Error while writing spool file`

Backtrace

```
/usr/local/lib/ruby/2.3.0/net/smtp.rb:965:in `check_response'
/usr/local/lib/ruby/2.3.0/net/smtp.rb:919:in `data'
/usr/local/lib/ruby/2.3.0/net/smtp.rb:664:in `block in send_message'
/usr/local/lib/ruby/2.3.0/net/smtp.rb:859:in `rcptto_list'
/usr/local/lib/ruby/2.3.0/net/smtp.rb:664:in `send_message'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/mail-2.6.4/lib/mail/network/delivery_methods/smtp.rb:114:in `block in deliver!'
/usr/local/lib/ruby/2.3.0/net/smtp.rb:522:in `start'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/mail-2.6.4/lib/mail/network/delivery_methods/smtp.rb:113:in `deliver!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:2149:in `do_delivery'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:237:in `block in deliver'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:543:in `block in deliver_mail'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:541:in `deliver_mail'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:237:in `deliver'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionmailer-4.2.7.1/lib/action_mailer/message_delivery.rb:85:in `deliver_now'
/var/www/discourse/lib/email/sender.rb:155:in `send'
/var/www/discourse/app/jobs/regular/user_email.rb:41:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'

```

Env

```
hostname	forum-app
process_id	187
application_version	2a9331d061423f2b04d63ad7407f90fa6fd104cd
current_db	default
current_hostname	forum.fremo-net.eu
job	Jobs::UserEmail
problem_db	default
opts	
type	user_posted
user_id	79
notification_id	52774
notification_type	posted
post_id	3322
current_site_id	default
notification_data_hash	
topic_title	Reisende in "Fensterwagen" oder nicht?
original_post_id	3322
original_post_type	1
original_username	anonymized
display_username	anonymized
Solve Protect Share

```

---

_[View the full topic](https://meta.discourse.org/t/job-exception-451-error-while-writing-spool-file-do-i-need-to-worry/51831)._
