# Site freezes when trying to edit segment with 40k contacts

**URL:** https://forum.mautic.org/t/site-freezes-when-trying-to-edit-segment-with-40k-contacts/26282
**Category:** Product Support
**Tags:** mautic-3
**Created:** [December 1, 2022, 9:37pm UTC](https://forum.mautic.org/t/site-freezes-when-trying-to-edit-segment-with-40k-contacts/26282 "2022-12-01T21:37:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![etoribio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/etoribio/32/8810_2.png) [@etoribio](https://forum.mautic.org/u/etoribio)
#### Post date: [December 1, 2022, 9:37pm UTC](https://forum.mautic.org/t/site-freezes-when-trying-to-edit-segment-with-40k-contacts/26282/1 "2022-12-01T21:37:26Z")

</div>

**Your software**  
My Mautic version is: 3.3.5  
My PHP version is: 7.3.29  
My Database type and version is: Mysql 5.x

**Your problem**  
My problem is:  
I have a segment with 40k emails assigned to a campaign. When I try to edit the segment to assign it to a campaign the site freezes and I get an error 503. The machine is a n1-standard-1 with 1 vCPU and 3.75 GB RAM.

These errors are showing in the log:  
I’m getting an error 503 timeout

Steps I have tried to fix the problem:  
I have upgraded the server up to 2 vCPU and 16GB RAM
