About 6,000 public schoolteachers in San Francisco went on strike Monday, the city's first such walkout in nearly 50 years.