Those messages are expected. The ttou (and ttin) signals are used to refresh gunicorn workers of the webserver so that it picks up DAG changes. You can modify or disable this behavior with the worker_refresh_interval and worker_refresh_batch_size airflow config values.