# Error PHP Notice: fwrite(): send of 30 bytes failed with errno=32

**URL:** <https://forum.mautic.org/t/error-php-notice-fwrite-send-of-30-bytes-failed-with-errno-32/24124>\
**Category:** Product Support\
**Created:** [May 17, 2022, 12:17pm UTC](https://forum.mautic.org/t/error-php-notice-fwrite-send-of-30-bytes-failed-with-errno-32/24124 "2022-05-17T12:17:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thyagocoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/thyagocoan/32/2131_2.png) [@thyagocoan](https://forum.mautic.org/u/thyagocoan)\
**Post date:** [May 17, 2022, 12:17pm UTC](https://forum.mautic.org/t/error-php-notice-fwrite-send-of-30-bytes-failed-with-errno-32/24124/1 "2022-05-17T12:17:53Z")

</div>

**Your software**  
My Mautic version is: 4.2.2  
My PHP version is: PHP Version 7.4.29  
My Database type and version is: 10.3.34-MariaDB-0ubuntu0.20.04.1

**Your problem**  
My problem is:

After run mautic:campaigns:trigger, the error below is shown.

These errors are showing in the log:

root@vmi881722:~# php /var/www/html/mautic/bin/console mautic:campaigns:trigger  
Triggering events for campaign 4  
Triggering events for newly added contacts  
21000 total events(s) to be processed in batches of 100 contacts  
2200/21000 [==\>-------------------------] 10%PHP Notice: fwrite(): send of 30 bytes failed with errno=32 Broken pipe in /var/www/html/mautic/vendor/swiftmailer/swiftmailer/lib/classes/SStreamBuffer.php on line 223  
PHP Notice: fwrite(): send of 30 bytes failed with errno=32 Broken pipe in /var/www/html/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php on line 223  
PHP Notice: fwrite(): send of 30 bytes failed with errno=32 Broken pipe in /var/www/html/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php on line 223

Steps I have tried to fix the problem:
