In this research, we study an M/M/1 queueing system with both a primary service and a secondary service that share a common server's capacity. We show that such system's optimal control policy is that the capacity allocated for the secondary service is monotonically non-increasing in the number of people in the system. Also, the possible optimal secondary capacity is actually on t...